Source

meblog / templates / admin / newpage.html

Full commit
Hudarsono 32c463b 


Hudarsono Hu ccd4900 




Hudarsono Hu 32dfef6 
Hudarsono Hu ccd4900 



Hudarsono Hu 32dfef6 
Hudarsono Hu ccd4900 



Hudarsono Hu 32dfef6 
Hudarsono Hu ccd4900 





Hudarsono 32c463b 
Hudarsono Hu ccd4900 


Hudarsono Hu 32dfef6 
Hudarsono Hu ccd4900 


Hudarsono Hu 32dfef6 
Hudarsono Hu ccd4900 


Hudarsono Hu 32dfef6 
Hudarsono Hu ccd4900 




Hudarsono 32c463b 
{% extends 'admin/base.html' %}

{% block content %}
<form class="uniform" method="POST" action="{% if action %}{{ action }}{% else %}/page/new/{% endif %}">
<fieldset>
<div class="left-form">
			<div class="ctrlHolder">
				<label for="id_name" style="display:block">Name {{ pageForm.name.errors }}</label>
                {{ pageForm.name }}
				<span class="inlineLabels"><p class="formHint">Max : 100 characters</p></span>
			</div>
			<div class="ctrlHolder">
				<label for="id_description" style="display:block">Description {{ pageForm.description.errors }}</label>
                {{ pageForm.description }}
				<span class="inlineLabels"><p class="formHint">(Optional) Max : 300 characters</p></span>
			</div>
			<div class="ctrlHolder">
				<label for="id_body" style="display:block">Body {{ pageForm.body.errors }}</label>
                {{ pageForm.body }}
				<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="Save"/>
			</div>
</div>
<div class="right-form">
	<div class="ctrlHolder">
		<label for="id_publish" style="display:block">Publish {{ pageForm.publish.errors }}</label>
		{{ pageForm.publish }}
	</div>
	<div class="ctrlHolder">
		<label for="id_navbar" style="display:block">Side Bar {{ pageForm.navbar.errors }}</label>
		{{ pageForm.navbar }}
	</div>
	<div class="ctrlHolder">
		<label for="id_template" style="display:block">Template {{ pageForm.template.errors }}</label>
        {{ pageForm.template }}
		<span class="inlineLabels"><p class="formHint">Template Filename (*.html)</p></span>
	</div>
</div>
</fieldset>
</form>
{% endblock %}