/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
- <article class="module width_full">
- <header><h3>Preferences</h3></header>
- <form method="post" action="/admin/preferences">
- <div class="module_content">
- <fieldset>
- <label for="dateFormat">Date Format</label>
- <input type="text" id="dateFormat" name="dateFormat" style="width: 300px" value="{{DateFormat}}" />
- </fieldset>
- <fieldset>
- <label for="postsPerPage"><abbr title="Posts Per Page">PPP</abbr></label>
- <input type="text" id="postsPerPage" name="postsPerPage" style="width: 300px" value="{{PostsPerPage}}" />
- </fieldset>
- <fieldset>
- <label for="enableComment">Comment?</label>
- <input type="checkbox" id="enableComment" name="enableComment"{{#EnableComment}} checked="checked"{{/EnableComment}} />
- </fieldset>
- <fieldset>
- <label for="markdown">Markdown?</label>
- <input type="checkbox" id="markdown" name="markdown"{{#markdown}} checked="checked"{{/markdown}} />
- </fieldset>
- </div>
- <footer>
- <div class="submit_link">
- <input type="submit" value="Save!" />
- </div>
- </footer>
- </form>
- </article>