Reorder the breaking change page

The table on this page looked too much like something you were supposed
to interact with. To understand what’s expected of you from this page,
you need to know:

- what you’ve done to make this page happen (you changed some stuff)
- what actions are available now (confirm, back)

The rest of the information is supplemenatary—it helps you make a
descision, but it’s not key to understanding what the decision _is_.

This also matches what we do on the upload file page, where the
non-essential example is under the button.
This commit is contained in:
Chris Hill-Scott
2016-06-17 13:06:54 +01:00
parent 7be111d260
commit 1d68aa87ea

View File

@@ -25,6 +25,18 @@
{% endif %}
</div>
<form method="post">
<input type="hidden" name="name" value="{{ new_template.name }}" />
<input type="hidden" name="subject" value="{{ new_template.subject or '' }}" />
<input type="hidden" name="template_content" value="{{ new_template.content }}" />
<input type="hidden" name="confirm" value="true" />
{{ page_footer(
'Save changes to template',
back_link=url_for(".edit_service_template", service_id=current_service.id, template_id=new_template.id),
back_link_text="Back"
) }}
</form>
<p>
When you send messages using this template youll need
{{ new_template.placeholders|length + 1 }} columns of data:
@@ -50,16 +62,4 @@
<p>Developers, youll need to update your API calls</p>
<form method="post">
<input type="hidden" name="name" value="{{ new_template.name }}" />
<input type="hidden" name="subject" value="{{ new_template.subject or '' }}" />
<input type="hidden" name="template_content" value="{{ new_template.content }}" />
<input type="hidden" name="confirm" value="true" />
{{ page_footer(
'Save changes to template',
back_link=url_for(".edit_service_template", service_id=current_service.id, template_id=new_template.id),
back_link_text="Back"
) }}
</form>
{% endblock %}