22 lines
1.0 KiB
Plaintext
22 lines
1.0 KiB
Plaintext
|
<%inherit file="/base.mako"/>
|
||
|
<div class="post">
|
||
|
<h2 class="title">Edit Post: ${c.post.title}</h2>
|
||
|
<%include file="/errors.mako"/>
|
||
|
<form id="post-new" action="${h.url_for('/post/edit/%s' % str(c.post.id))}" method="post">
|
||
|
<fieldset>
|
||
|
<div class="form-item">
|
||
|
<!-- <label for="post-title">Title:</label> -->
|
||
|
<input type="text" name="title" value="${c.post.title}" id="post-title" class="form-text" />
|
||
|
</div>
|
||
|
<div class="form-item">
|
||
|
<!-- <label for="post-body">Body:</label> -->
|
||
|
<textarea name="body" id="post-body" class="form-textarea">${c.post.body}</textarea>
|
||
|
</div>
|
||
|
<div class="form-item">
|
||
|
<input type="submit" name="action" value="Save Draft"/>
|
||
|
<input type="submit" name="action" value="Save & Publish"/>
|
||
|
</div>
|
||
|
</fieldset>
|
||
|
</form>
|
||
|
</div>
|