tabs and draft working
This commit is contained in:
parent
14ec6b7e7a
commit
9feccf9eaa
@ -29,9 +29,11 @@
|
|||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
{% if editor == 'ace' %}
|
{% if editor == 'ace' %}
|
||||||
|
{% include '@novaconium/javascript/page-edit.html.twig' %}
|
||||||
{% include '@novaconium/javascript/ace.html.twig' %}
|
{% include '@novaconium/javascript/ace.html.twig' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
{% if debug is not empty %}
|
{% if debug is not empty %}
|
||||||
<div id="debug">
|
<div id="debug">
|
||||||
<h2>Debugging Information</h2>
|
<h2>Debugging Information</h2>
|
||||||
|
|||||||
@ -3,8 +3,3 @@
|
|||||||
right before the /body
|
right before the /body
|
||||||
such as javascript
|
such as javascript
|
||||||
-->
|
-->
|
||||||
{% include '@novaconium/javascript/page-edit.html.twig' %}
|
|
||||||
|
|
||||||
{% if editor == 'ace' %}
|
|
||||||
{% include '@novaconium/javascript/ace.html.twig' %}
|
|
||||||
{% endif %}
|
|
||||||
|
|||||||
@ -14,3 +14,16 @@
|
|||||||
<div id="body-editor" class="ace-editor"></div> {# Ace mounts here #}
|
<div id="body-editor" class="ace-editor"></div> {# Ace mounts here #}
|
||||||
</div>
|
</div>
|
||||||
</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>
|
||||||
Loading…
x
Reference in New Issue
Block a user