gosora/templates/panel_pages_edit.html
Azareal 18c5223143 Pin Docker to 1.10 not the patch version, otherwise things could go horribly wrong.
Added the_form to the Page Editor.
Added a phrase for the Menu Editor title rather than reusing the Menu Manager's one.
Replaced a dotted border I missed in Tempra Simple.
Fixed a floater in the User Manager for Shadow.
Tweaked the form CSS for Nox.
Tweaked panel_submitrow in Nox.

Continued work on the User Manager for Nox.
2018-08-11 22:09:26 +10:00

32 lines
1.2 KiB
HTML

{{template "header.html" . }}
<div id="panel_page_edit" class="colstack panel_stack">
{{template "panel_menu.html" . }}
<main class="colstack_right">
<div class="colstack_item colstack_head">
<div class="rowitem"><h1>{{lang "panel_pages_edit_head"}}</h1></div>
</div>
<form action="/panel/pages/edit/submit/{{.Page.ID}}?session={{.CurrentUser.Session}}" method="post">
<div id="panel_page_edit_item" class="colstack_item the_form">
<div class="formrow">
<div class="formitem formlabel"><a>{{lang "panel_pages_name"}}</a></div>
<div class="formitem"><input name="name" type="text" value="{{.Page.Name}}" /></div>
</div>
<div class="formrow">
<div class="formitem formlabel"><a>{{lang "panel_pages_title"}}</a></div>
<div class="formitem"><input name="title" type="text" value="{{.Page.Title}}" /></div>
</div>
<div class="formrow">
<div class="formitem">
<textarea name="body">{{.Page.Body}}</textarea>
</div>
</div>
<div class="formrow">
<div class="formitem"><button name="panel-button" class="formbutton">{{lang "panel_pages_edit_update_button"}}</button></div>
</div>
</div>
</form>
</main>
</div>
{{template "footer.html" . }}