Skip to content

Commit

Permalink
Move the error summary above the header for the check your answers pa…
Browse files Browse the repository at this point in the history
…ge and question page
  • Loading branch information
bendiggle authored and michaeldfallen committed Feb 27, 2018
1 parent 9c0e21b commit 7c71ad3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions templates/look-and-feel/layouts/check_your_answers.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

Expand Down
4 changes: 2 additions & 2 deletions templates/look-and-feel/layouts/question.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@

{% block two_thirds %}

{{ errorSummary(fields) }}

{{ header(title, size='large') }}

<form action="{{ postUrl | default(path if path else url) }}" method="post" class="form">

{{ errorSummary(fields) }}

{% block fields -%}
{%- endblock %}

Expand Down

0 comments on commit 7c71ad3

Please sign in to comment.