|
@@ -1,15 +1,11 @@
|
|
|
+{% extends "base.html" %}
|
|
|
{% load wagtailcore_tags %}
|
|
|
-<html>
|
|
|
- <head>
|
|
|
- <title>{{ page.title }}</title>
|
|
|
- </head>
|
|
|
- <body>
|
|
|
- <h1>{{ page.title }}</h1>
|
|
|
- {{ page.intro|richtext }}
|
|
|
- <form action="{% pageurl page %}" method="POST">
|
|
|
- {% csrf_token %}
|
|
|
- {{ form.as_p }}
|
|
|
- <input type="submit">
|
|
|
- </form>
|
|
|
- </body>
|
|
|
-</html>
|
|
|
+{% block content %}
|
|
|
+ {{ page.intro|richtext }}
|
|
|
+
|
|
|
+ <form action="{% pageurl page %}" method="POST">
|
|
|
+ {% csrf_token %}
|
|
|
+ {{ form.as_p }}
|
|
|
+ <input type="submit">
|
|
|
+ </form>
|
|
|
+{% endblock content %}
|