meblog / templates / admin / newpost.html

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

{% block content %}
<form class="uniform" method="POST" action="{% if action %}{{ action }}{% else %}/post/new/{% endif %}">{% csrf_token %}
{% if postForm.key %}{{ postForm.key }}{% endif %}
<div class="left-form">
			<div class="ctrlHolder">
				<label for="id_title" style="display:block">Title {{ postForm.title.errors }}</label>
                {{ postForm.title }}
				<span class="inlineLabels"><p class="formHint">Max : 100 characters</p></span>
			<div class="ctrlHolder">
				<label for="id_body" style="display:block">Body {{ postForm.body.errors }}</label>
                {{ postForm.body }}
				<span class="inlineLabels"><p class="formHint">Use markdown to style the text.
					<a href="">Please read documentation</a></p></span>
			<div class="buttonHolder">
				<input class="submit" type="submit" value="Publish"/>
				<input class="submit cancel" type="button" value="Cancel" onclick="history.go(-1)"/>

<div class="right-form">
	<div class="ctrlHolder">
		<label for="id_category" style="display:block">Category {{ postForm.category.errors }}</label>
        {{ postForm.category }}
   		<span class="inlineLabels"><p class="formHint">Word or Phrase</p></span>
	<div class="ctrlHolder">
		<label for="id_tags" style="display:block">Tags {{ postForm.tags.errors }}</label>
        {{ postForm.tags }}
		<span class="inlineLabels"><p class="formHint">Separate by space</p></span>
{% 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
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.