/templates/admin/new-post-markdown.mustache

http://github.com/TheOnly92/bloody.go · Mustache · 24 lines · 24 code · 0 blank · 0 comment · 0 complexity · 5609321ae131e59924ae722f942b04de MD5 · raw file

  1. <article class="module width_full">
  2. <header><h3>Create New Post</h3></header>
  3. <form method="post" action="/admin/post/new?markdown=1">
  4. <div class="module_content">
  5. <fieldset>
  6. <label for="title">Title</label>
  7. <input type="text" id="title" name="title" />
  8. </fieldset>
  9. <fieldset>
  10. <label for="content">Content</label>
  11. <textarea id="content" name="content" style="height: 200px;"></textarea>
  12. </fieldset>
  13. </div>
  14. <footer>
  15. <div class="submit_link">
  16. <select name="status" id="status">
  17. <option value="0" selected="selected">Draft</option>
  18. <option value="1">Published</option>
  19. </select>
  20. <input type="submit" value="Post!" />
  21. </div>
  22. </footer>
  23. </form>
  24. </article>