/templates/admin/preferences.mustache

http://github.com/TheOnly92/bloody.go · Mustache · 28 lines · 28 code · 0 blank · 0 comment · 0 complexity · 0405d46faf328c27c1700770dd2f6c1a MD5 · raw file

  1. <article class="module width_full">
  2. <header><h3>Preferences</h3></header>
  3. <form method="post" action="/admin/preferences">
  4. <div class="module_content">
  5. <fieldset>
  6. <label for="dateFormat">Date Format</label>
  7. <input type="text" id="dateFormat" name="dateFormat" style="width: 300px" value="{{DateFormat}}" />
  8. </fieldset>
  9. <fieldset>
  10. <label for="postsPerPage"><abbr title="Posts Per Page">PPP</abbr></label>
  11. <input type="text" id="postsPerPage" name="postsPerPage" style="width: 300px" value="{{PostsPerPage}}" />
  12. </fieldset>
  13. <fieldset>
  14. <label for="enableComment">Comment?</label>
  15. <input type="checkbox" id="enableComment" name="enableComment"{{#EnableComment}} checked="checked"{{/EnableComment}} />
  16. </fieldset>
  17. <fieldset>
  18. <label for="markdown">Markdown?</label>
  19. <input type="checkbox" id="markdown" name="markdown"{{#markdown}} checked="checked"{{/markdown}} />
  20. </fieldset>
  21. </div>
  22. <footer>
  23. <div class="submit_link">
  24. <input type="submit" value="Save!" />
  25. </div>
  26. </footer>
  27. </form>
  28. </article>