Review usage of secondary/back links

This commit examines all the pages that use the page footer component, and
determines whether they should have a back button, a secondary link, both or
neither.
This commit is contained in:
Chris Hill-Scott
2016-02-05 10:24:43 +00:00
parent f5807d939a
commit 0fc927b458
10 changed files with 18 additions and 19 deletions

View File

@@ -14,11 +14,7 @@
<form method="post">
{{ textbox(key_name, hint='eg CRM application') }}
{{ page_footer(
'Continue',
back_link=url_for('.api_keys', service_id=service_id),
back_link_text='Back to API keys'
) }}
{{ page_footer('Continue') }}
</form>
{% endblock %}

View File

@@ -26,8 +26,8 @@
</div>
{{ page_footer(
back_link=url_for('.api_keys', service_id=service_id),
back_link_text='Back to API keys'
secondary_link=url_for('.api_keys', service_id=service_id),
secondary_link_text='Back to API keys'
) }}
{% endblock %}