33 lines
1.2 KiB
HTML
33 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">
|
|
{{template "panel_before_head.html" . }}
|
|
<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" . }}
|