Merge pull request #1264 from alphagov/quis-patch-1

Only show back button if you’ve come from settings
This commit is contained in:
Chris Hill-Scott
2017-05-11 09:35:50 +01:00
committed by GitHub

View File

@@ -22,7 +22,7 @@
) }}
{{ page_footer(
'Save',
back_link=url_for('.service_settings', service_id=current_service.id),
back_link=None if request.args.get('from_template') else url_for('.service_settings', service_id=current_service.id),
back_link_text='Back to settings'
) }}
</form>