2010-01-15 20:55:30 +00:00
|
|
|
<%inherit file="/base.mako"/>
|
2010-01-30 21:52:59 +00:00
|
|
|
<%include file="/flash.mako"/>
|
2010-01-15 20:55:30 +00:00
|
|
|
<div class="post">
|
|
|
|
<h2 class="title">New Post</h2>
|
|
|
|
<%include file="/errors.mako"/>
|
|
|
|
<form id="post-new" action="${h.url_for('/post/edit')}" method="post">
|
|
|
|
<fieldset>
|
|
|
|
<div class="form-item">
|
|
|
|
<!-- <label for="post-title">Title:</label> -->
|
|
|
|
<input type="text" name="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"></textarea>
|
|
|
|
</div>
|
2010-01-21 21:40:15 +00:00
|
|
|
<div class="form-item">
|
|
|
|
<label for="post-tags">Tags:</label>
|
|
|
|
<input type="text" name="tags" id="post-tags" class="form-text" />
|
|
|
|
</div>
|
2010-01-15 20:55:30 +00:00
|
|
|
<div class="form-item">
|
2010-01-16 23:19:42 +00:00
|
|
|
<input type="submit" name="action" value="Save Draft" class="form-button"/>
|
|
|
|
<input type="submit" name="action" value="Save & Publish" class="form-button"/>
|
2010-01-15 20:55:30 +00:00
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
</div>
|