File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
src/moin/themes/basic/templates Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,10 @@ <h1>{{ title }}</h1>
4747 </ ul >
4848 < div class ="tab-content ">
4949 < div class ="tab-pane active " id ="editor ">
50+ {% if not form['content_form'].is_draw and draft_data %}
51+ < button class ="moin-button moin-load-draft " type ="button " > {{ _("Load Draft") }}</ button >
52+ {% set warning = _("Clicking this button will delete draft!") %}
53+ {% endif %}
5054 {{ data_editor(form['content_form'], item_name) }}
5155 </ div >
5256 < div class ="tab-pane active " id ="meta ">
@@ -124,5 +128,11 @@ <h1>{{ title }}</h1>
124128 {%- if user.scroll_page_after_edit -%}
125129 < br id ="moin-scroll-page-after-edit ">
126130 {%- endif %}
131+ {%- if draft_data -%}
132+ < textarea id ="moin-draft-data "> {{ draft_data }}</ textarea >
133+ {%- endif %}
134+ {%- if lock_duration -%}
135+ < input id ="moin-lock_duration " value ="{{ lock_duration }} ">
136+ {%- endif %}
127137 < input id ="moin-item-name " value ="{{ fqname }} " >
128138{% endblock %}
You can’t perform that action at this time.
0 commit comments