From a870eb57add68d5ef929fd4a89f103c52d1cfb74 Mon Sep 17 00:00:00 2001 From: Edd Baldry Date: Mon, 27 Feb 2017 22:00:12 +0000 Subject: [PATCH] Initial styling form success page. Workson #15. --- bakerydemo/static/css/main.css | 5 +++++ bakerydemo/templates/base/form_page.html | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/bakerydemo/static/css/main.css b/bakerydemo/static/css/main.css index 13da1f2..5da51f6 100644 --- a/bakerydemo/static/css/main.css +++ b/bakerydemo/static/css/main.css @@ -819,6 +819,11 @@ span.outline { max-width: 350px; } +/* Form thank you page */ +.form-page-thanks h1 { + margin-bottom: 30px; +} + /* No gutters */ .row.no-gutters { margin-right: 0; diff --git a/bakerydemo/templates/base/form_page.html b/bakerydemo/templates/base/form_page.html index 6deb371..940c0b4 100644 --- a/bakerydemo/templates/base/form_page.html +++ b/bakerydemo/templates/base/form_page.html @@ -7,7 +7,9 @@

{{ page.title }}

-

{{ page.intro|richtext }}

+ {% if page.intro %} +

{{ page.intro|richtext }}

+ {% endif %}