Move the template preview to the bottom

Having to scroll past the template preview is fine for a short text
message, but annoying and confusing for a long letter. We even have
people completely missing what the page is for, because they don’t go
all the way to the bottom.

This change makes more sense now that we have a page for previewing a
template (not one long page with all the templates). You’re already
pretty confident that you’re using the right template on this page. It’s
just there as a double-check, and to help people understand where the
columns in the example file are coming from.
This commit is contained in:
Chris Hill-Scott
2017-05-11 12:20:26 +01:00
parent 5d0904ca36
commit 1df601c14d

View File

@@ -11,8 +11,6 @@
<h1 class="heading-large">Upload recipients</h1>
{{ template|string }}
<div class="page-footer bottom-gutter">
{{file_upload(
form.file,
@@ -45,4 +43,7 @@
<a href="{{ url_for('.get_example_csv', service_id=current_service.id, template_id=template.id) }}">Download this example</a>
</p>
<h2 class="heading-medium">Your file will populate this template ({{ template.name }})</h2>
{{ template|string }}
{% endblock %}