{% load omblog_tags %}
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<title>
			{% block title %}create{% endblock %}
		</title>
		<link rel="shortcut icon" href="{{STATIC_URL}}omblog/favicon.ico">
		<link
			rel="stylesheet"
			href="{{STATIC_URL}}omblog/css/omblog.edit.css"
			media="screen"
			type="text/css">
		<link
			href="https://fonts.googleapis.com/css?family=Lato:400,900"
			rel="stylesheet"
			type="text/css">
	</head>
	<body>
		<div class="feedback">
			<p>
				<span class="icon rotate"></span>
				<span class="msg">Saving</span>
			</p>
		</div>
		<div class="write">
			<form method="post">
				<fieldset>
					{% csrf_token %}
					{{form.title}}
				</fieldset>
				<fieldset>
					{{form.description}}
				</fieldset>
			</form>
		</div>
<script src="{{STATIC_URL}}omblog/js/jquery-2.0.3.min.js"></script>
<script src="{{STATIC_URL}}omblog/js/mousetrap.min.js"></script>
<script src="{{STATIC_URL}}omblog/js/jquery.autosize.js"></script>
<script src="{{STATIC_URL}}omblog/js/omblog.create.js"></script>
<script>
	$(function(){
		$('#id_title').autosize();
		$('#id_description').autosize();
	});
	window.omblog_url = '{% url 'omblog:index' %}';
	window.omblog_create_url = '{% url 'omblog:create' %}';
</script>
	</body>
</html>
