/templates/admin/edit-page.mustache
http://github.com/TheOnly92/bloody.go · Mustache · 29 lines · 29 code · 0 blank · 0 comment · 0 complexity · ff6716ad0115999d1f0d3a20dcbcf6f2 MD5 · raw file
- <article class="module width_full">
- <header><h3>Create New Page</h3></header>
- <form method="post" action="/admin/page/new">
- <div class="module_content">
- <fieldset>
- <label for="title">Title</label>
- <input type="text" id="title" name="title" value="{{Title}}" />
- </fieldset>
- <fieldset>
- <label for="content">Content</label>
- <div style="clear: both"></div>
- <textarea id="content" name="content" style="height: 200px;">{{Content}}</textarea>
- </fieldset>
- </div>
- <footer>
- <div class="submit_link">
- <input type="submit" value="Create!" />
- </div>
- </footer>
- </form>
- </article>
- <script type="text/javascript">
- $('#content').cleditor()[0].focus();
- </script>
- <style>
- .cleditorMain {
- margin: 0 10px;
- }
- </style>