mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 19:28:25 -04:00
A bug was reported on where editting a template with a breaking change.
The url was not being properly formed, missing the tempalte_id, meaning the back button on the page did not work. This fixes that, includes a check of the url for the back button.
This commit is contained in:
@@ -218,6 +218,7 @@ def edit_service_template(service_id, template_id):
|
||||
'name': form.name.data,
|
||||
'subject': subject,
|
||||
'content': form.template_content.data,
|
||||
'id': new_template.id
|
||||
},
|
||||
column_headings=list(ascii_uppercase[:len(new_template.placeholders) + 1]),
|
||||
example_rows=[
|
||||
|
||||
Reference in New Issue
Block a user