=Make a common base for expoweb pages. Ignore any header information in expoweb except titles.

This commit is contained in:
Martin Green
2011-08-08 10:58:50 +01:00
parent c66ecc4d7f
commit e85c386375
5 changed files with 24 additions and 16 deletions

View File

@@ -1,12 +1,14 @@
{% extends "base.html" %}
{% extends "expobase.html" %}
{% block title %}Edit {{ path }}{% endblock %}
{% block head %}
{% block extrahead %}
{% load csrffaker %}
<script src="{{ settings.TINY_MCE_MEDIA_URL }}tiny_mce.js" type="text/javascript"></script>
{% endblock %}
{% block content %}
{% block body %}
<h1>Edit {{ path }}</h1>
<form action="" method="post">{% csrf_token %}
{{form.as_p}}
<p><input type="submit" value="Submit" /></p>
{% include "menu.html" %}
</form>
{% endblock %}