PageRenderTime 26ms CodeModel.GetById 18ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/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
 1<article class="module width_full">
 2	<header><h3>Create New Page</h3></header>
 3	<form method="post" action="/admin/page/new">
 4	<div class="module_content">
 5		<fieldset>
 6			<label for="title">Title</label>
 7			<input type="text" id="title" name="title" value="{{Title}}" />
 8		</fieldset>
 9		<fieldset>
10			<label for="content">Content</label>
11			<div style="clear: both"></div>
12			<textarea id="content" name="content" style="height: 200px;">{{Content}}</textarea>
13		</fieldset>
14	</div>
15	<footer>
16		<div class="submit_link">
17			<input type="submit" value="Create!" />
18		</div>
19	</footer>
20	</form>
21</article>
22<script type="text/javascript">
23$('#content').cleditor()[0].focus();
24</script>
25<style>
26.cleditorMain {
27	margin: 0 10px;
28}
29</style>