Add Draft support

This commit is contained in:
Gregory Soutade
2014-05-27 18:24:14 +02:00
parent c468ea92b0
commit 03f646b7fa
10 changed files with 232 additions and 43 deletions

View File

@@ -32,7 +32,7 @@ Available tags:
<textarea id="content" name="content" cols="100" rows="25"></textarea>
{% endif %}
<br/>
<input type="submit" name="add" value="Add" /><input type="button" name="preview" value="Preview" onClick="previewPost({{ blog_id }});"/><input type="submit" name="cancel" value="Cancel" />
<input type="submit" name="add" value="Add" /><input type="button" name="preview" value="Preview" onClick="previewPost({{ blog_id }});"/><input type="submit" name="draft" value="Save as draft" /><input type="submit" name="cancel" value="Cancel" />
</form>
{% if editor == "html" %}
<div id="markdown_help" style="display:none">