form_page.html 364 B

123456789101112131415
  1. {% extends "base.html" %}
  2. {% load wagtailcore_tags %}
  3. {% block content-header %}
  4. {{ page.title }}
  5. {{ page.intro|richtext }}
  6. {% endblock content-header %}
  7. {% endblock content-body %}
  8. <form action="{% pageurl page %}" method="POST">
  9. {% csrf_token %}
  10. {{ form.as_p }}
  11. <input type="submit">
  12. </form>
  13. {% endblock content-body %}