mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Merge pull request #161 from alphagov/template-content-fix
Restore template content when deleting template
This commit is contained in:
@@ -92,6 +92,7 @@ def delete_service_template(service_id, template_id):
|
||||
else:
|
||||
raise e
|
||||
|
||||
template['template_content'] = template['content']
|
||||
form = TemplateForm(**template)
|
||||
|
||||
if request.method == 'POST':
|
||||
|
||||
Reference in New Issue
Block a user