mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Merge pull request #1282 from alphagov/show-errors-first
Show spreadsheet before template if there’s errors
This commit is contained in:
@@ -150,7 +150,9 @@
|
||||
|
||||
{% endif %}
|
||||
|
||||
{{ template|string }}
|
||||
{% if not errors %}
|
||||
{{ template|string }}
|
||||
{% endif %}
|
||||
|
||||
<div class="bottom-gutter-3-2">
|
||||
{% if errors %}
|
||||
@@ -234,4 +236,9 @@
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{% if errors %}
|
||||
<h2 class="heading-medium">Preview of {{ template.name }}</h2>
|
||||
{{ template|string }}
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user