mirror of https://github.com/JohnHammond/CTFd.git
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
parent
3af98b17d5
commit
33710b864f
|
@ -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">
|
||||||
|
|
Loading…
Reference in New Issue