mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-01-31 20:04:28 +01:00
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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user