mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
Make email pattern work in new context
The email pattern looked a bit shonky when displayed in a narrower column. This commit fixes it by making the email’s metadata (eg subject, from) into a table, which it sort of is. This means that it is more flexible about the size of container in which it sits.
This commit is contained in:
@@ -31,7 +31,7 @@ def add_service_template(service_id, template_type):
|
||||
|
||||
if form.validate_on_submit():
|
||||
tdao.insert_service_template(
|
||||
form.name.data, template['template_type'], form.template_content.data, service_id, form.subject.data or None
|
||||
form.name.data, template_type, form.template_content.data, service_id, form.subject.data or None
|
||||
)
|
||||
return redirect(
|
||||
url_for('.choose_template', service_id=service_id, template_type=template_type)
|
||||
|
||||
Reference in New Issue
Block a user