mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Remove ‘cancel’ links from edit template page
Since cancel just takes you back to the list of templates, which is accessible from the left nav, it’s only adding clutter to the page.
This commit is contained in:
@@ -29,9 +29,7 @@
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
delete_link=url_for('.delete_service_template', service_id=service_id, template_id=template_id) if template_id or None,
|
||||
delete_link_text='Delete this template',
|
||||
back_link=url_for('.choose_template', template_type=template_type, service_id=service_id),
|
||||
back_link_text='Cancel'
|
||||
delete_link_text='Delete this template'
|
||||
) }}
|
||||
</form>
|
||||
|
||||
|
||||
@@ -28,9 +28,7 @@
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
delete_link=url_for('.delete_service_template', service_id=service_id, template_id=template_id) if template_id or None,
|
||||
delete_link_text='Delete this template',
|
||||
back_link=url_for('.choose_template', service_id=service_id, template_type=template_type),
|
||||
back_link_text='Cancel'
|
||||
delete_link_text='Delete this template'
|
||||
) }}
|
||||
</form>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user