tabs and draft working

This commit is contained in:
2026-01-26 21:55:22 -08:00
parent 14ec6b7e7a
commit 9feccf9eaa
3 changed files with 16 additions and 6 deletions

View File

@@ -13,4 +13,17 @@
<textarea id="body" name="body" rows="10" style="display: none;">{{ rows.body|default('')|e('html') }}</textarea>
<div id="body-editor" class="ace-editor"></div> {# Ace mounts here #}
</div>
</div>
<div class="form-group">
<label for="draft">
<input
type="checkbox"
id="draft"
name="draft"
value="1"
{% if rows.draft|default(false) %}checked{% endif %}
>
Save as draft
</label>
</div>