This repository has been archived on 2024-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
old-scribeengine/scribeengine/templates/page/new.mako
Raoul Snyman 462d1e6130 - Merged adminmenu and account.
- Added "Add Page" to menu.
- Added "New Page" page.
2010-03-11 23:18:40 +02:00

23 lines
1.0 KiB
Mako

<%inherit file="/base.mako"/>
<%include file="/flash.mako"/>
<div class="page">
<h2 class="title">New Page</h2>
<%include file="/errors.mako"/>
<form id="page-new" action="${h.url_for('/page/edit')}" method="page">
<fieldset>
<div class="form-item">
<!-- <label for="page-title">Title:</label> -->
<input type="text" name="page-title" id="page-title" class="form-text" />
</div>
<div class="form-item">
<!-- <label for="page-body">Body:</label> -->
<textarea name="page-body" id="page-body" class="form-textarea"></textarea>
</div>
<div class="form-item">
<input type="submit" name="page-action" value="Save Draft" class="form-button"/>
<input type="submit" name="page-action" value="Save &amp; Publish" class="form-button"/>
</div>
</fieldset>
</form>
</div>