diff --git a/bakerydemo/templates/base/form_page.html b/bakerydemo/templates/base/form_page.html index 74f791a..f5a5b7e 100644 --- a/bakerydemo/templates/base/form_page.html +++ b/bakerydemo/templates/base/form_page.html @@ -1,15 +1,11 @@ +{% extends "base.html" %} {% load wagtailcore_tags %} - - - {{ page.title }} - - -

{{ page.title }}

- {{ page.intro|richtext }} -
- {% csrf_token %} - {{ form.as_p }} - -
- - +{% block content %} + {{ page.intro|richtext }} + +
+ {% csrf_token %} + {{ form.as_p }} + +
+{% endblock content %} diff --git a/bakerydemo/templates/base/form_page_landing.html b/bakerydemo/templates/base/form_page_landing.html index 6f5ccf6..5537eba 100644 --- a/bakerydemo/templates/base/form_page_landing.html +++ b/bakerydemo/templates/base/form_page_landing.html @@ -1,9 +1,6 @@ - - - {{ page.title }} - - -

{{ page.title }}

-

Thanks for your submission!

- - +{% extends "base.html" %} +{% load wagtailcore_tags %} +{% block content %} +

{{ page.title }}

+ {{ page.thank_you_text|richtext }} +{% endblock content %}