mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57: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 %}
|
{% endif %}
|
||||||
|
|
||||||
{{ template|string }}
|
{% if not errors %}
|
||||||
|
{{ template|string }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="bottom-gutter-3-2">
|
<div class="bottom-gutter-3-2">
|
||||||
{% if errors %}
|
{% if errors %}
|
||||||
@@ -234,4 +236,9 @@
|
|||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if errors %}
|
||||||
|
<h2 class="heading-medium">Preview of {{ template.name }}</h2>
|
||||||
|
{{ template|string }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user