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

Signed-off-by: David Black <dblack@atlassian.com>
This commit is contained in:
David Black
2017-12-12 12:29:54 +11:00
committed by Kevin Chung
parent 3af98b17d5
commit 33710b864f

View File

@@ -85,7 +85,7 @@
<div class="form-group">
<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 role="tabpanel" class="tab-pane" id="accounts-section">