When css is not set default it to an empty string instead of showing None. (#521)

Signed-off-by: David Black <dblack@atlassian.com>
selenium-screenshot-testing
David Black 2017-12-12 12:29:54 +11:00 committed by Kevin Chung
parent 3af98b17d5
commit 33710b864f
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@
<div class="form-group"> <div class="form-group">
<label>CSS editor</label> <label>CSS editor</label>
<textarea class="form-control" id="css-editor" name="css" rows="7">{{ css }}</textarea> <textarea class="form-control" id="css-editor" name="css" rows="7">{{ css|default('', True) }}</textarea>
</div> </div>
</div> </div>
<div role="tabpanel" class="tab-pane" id="accounts-section"> <div role="tabpanel" class="tab-pane" id="accounts-section">