PageRenderTime 7ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://github.com/TheOnly92/bloody.go
Mustache | 24 lines | 24 code | 0 blank | 0 comment | 0 complexity | 28a5dd7bea28bea4812b140ee7eace3b MD5 | raw file
 1<article class="module width_full">
 2	<header><h3>Edit Post</h3></header>
 3	<form method="post" action="/admin/post/edit/{{id}}">
 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			<textarea id="content" name="content" style="height: 200px;">{{Content}}</textarea>
12		</fieldset>
13	</div>
14	<footer>
15		<div class="submit_link">
16			<select name="status" id="status">
17				<option value="0"{{#Draft}} selected="selected"{{/Draft}}>Draft</option>
18				<option value="1"{{#Publish}} selected="selected"{{/Publish}}>Published</option>
19			</select>
20			<input type="submit" value="Post!" />
21		</div>
22	</footer>
23	</form>
24</article>