From 7c71ad3d6dbad636836dfa7b6dfefa4da1599358 Mon Sep 17 00:00:00 2001 From: bendiggle Date: Tue, 27 Feb 2018 13:33:30 +0000 Subject: [PATCH] Move the error summary above the header for the check your answers page and question page --- templates/look-and-feel/layouts/check_your_answers.html | 4 ++-- templates/look-and-feel/layouts/question.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/look-and-feel/layouts/check_your_answers.html b/templates/look-and-feel/layouts/check_your_answers.html index 42ff838..f37a0b7 100644 --- a/templates/look-and-feel/layouts/check_your_answers.html +++ b/templates/look-and-feel/layouts/check_your_answers.html @@ -23,9 +23,9 @@ {% block two_thirds %} -{{ header(pageContent.title | default(defaultContent.title)) }} +{{ errorSummary(fields) }} - {{ errorSummary(fields) }} +{{ header(pageContent.title | default(defaultContent.title)) }} {% for section in _sections %} diff --git a/templates/look-and-feel/layouts/question.html b/templates/look-and-feel/layouts/question.html index 223cd87..a1623b3 100644 --- a/templates/look-and-feel/layouts/question.html +++ b/templates/look-and-feel/layouts/question.html @@ -12,12 +12,12 @@ {% block two_thirds %} +{{ errorSummary(fields) }} + {{ header(title, size='large') }}
- {{ errorSummary(fields) }} - {% block fields -%} {%- endblock %}