meblog / templates / admin / newpost.html

{% extends 'admin/base.html' %}

{% block content %}
<form class="uniform" method="POST" action="{% if action %}{{ action }}{% else %}/post/new/{% endif %}">
<fieldset>
<div class="left-form">
			<div class="ctrlHolder">
				<label for="id_title" style="display:block">Title {{ postForm.title.errors }}</label>
				<input id="id_title" class="textInput" type="text" size="50" name="title" max_length="100">
				
				<span class="inlineLabels"><p class="formHint">Max : 100 characters</p></span>
			</div>
			<div class="ctrlHolder">
				<label for="id_body" style="display:block">Body {{ postForm.body.errors }}</label>
				<textarea id="id_body" name="body" cols="40" rows="18"></textarea>
				<span class="inlineLabels"><p class="formHint">Use markdown to style the text.
					<a href="http://daringfireball.net/projects/markdown/basics">Please read documentation</a></p></span>
			</div>
			<div class="buttonHolder">
				<input class="submit" type="submit" value="Publish"/>
			</div>

</div>
<div class="right-form">
	<div class="ctrlHolder">
		<label for="id_category" style="display:block">Category {{ postForm.category.errors }}</label>
		<input id="id_category" class="textInput" type="text" size="50" name="category" max_length="30">
		<span class="inlineLabels"><p class="formHint">Word or Phrase</p></span>
	</div>
	<div class="ctrlHolder">
		<label for="id_tags" style="display:block">Tags {{ postForm.tags.errors }}</label>
		<input id="id_tags" class="textInput" type="text" size="50" name="tags">
		<span class="inlineLabels"><p class="formHint">Separate by space</p></span>
	</div>
</div>
</fieldset>
</form>
{% endblock %}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.