<p class="autosave-notice">{"Auto-saved data found for this form."} <a href="#" class="autosave-restore">{"Click here to restore."}</a></p>

<form method="POST" id="edit-form">
<p>{"Title"}:<br /><input type="text" name="title" size="50" value="{{ title|quotes }}" />
<span class="notice" id="title-notice">{"You must enter a title."}</span></p>
<p>{"Author"}:<br /><input type="text" name="author" size="30" value="{{ author|quotes }}" />
<span class="notice" id="author-notice">{"You must enter an author."}</span></p>
<p>{"Date/Time"}:<br /><input type="text" name="ts" id="ts" size="30" value="{{ ts }}" />
<span class="notice" id="ts-notice">{"You must select a date/time."}</span></p>
<p>{"Body"}: <span class="notice" id="body-notice">{"You must enter body content."}</span><br />
<textarea name="body" id="webpage-body" cols="90" rows="28">{{ body }}</textarea></p>

<h4><a href="#" onclick="return webpage_show_extra_options (this)" class="extra-options-link"><span class="arrow arrow-off"></span>{"Extra Options"}</a></h4>
<div id="extra-options">
<p>{"Published"}:
<select name="published">
{% foreach yes_no %}
	<option value="{{ loop_index }}"{% if loop_index == $data->published %} selected{% end %}>{{ loop_value|none }}</option>
{% end %}
</select></p>
<p>{"Tags (comma-separated)"}:
<ul id="tagit" style="width: 580px; padding-top: 0px; margin-top: -16px">
{% foreach tag_list %}
	<li>{{ loop_value }}</li>
{% end %}
</ul>
<input type="hidden" name="tags" id="tags"></p>
<p>{"Auto-post options"}:<br />
<input type="checkbox" name="autopost_pom" id="autopost_pom" value="yes" {% if autopost_tw %}checked{% end %} /> <label for="autopost_pom">Ping-o-matic</label><br />
<input type="checkbox" name="autopost_tw" id="autopost_tw" value="yes" {% if autopost_tw %}checked{% end %} /> <label for="autopost_tw">Twitter</label>
</p>
</div>
<p>
	<input type="submit" value="{"Save Blog Post"}" class="autosave-clear" />&nbsp;
	<input type="submit" value="{"Save &amp; Keep Editing"}" id="bgsave" />&nbsp;
	<a href="/admin/cancel?type=Blog&id={{ id }}&return={{ $_SERVER['HTTP_REFERER']|urlencode }}" onclick="return $.cancel_autosave ('{"Are you sure you want to cancel and lose any changes?"}')">{"Cancel"}</a>&nbsp;
	<span id="bgsave-status"></span>
</p>
</form>
