mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 08:28:24 -04:00
Rename content to template content
WTForms sets the `id` of a `textarea` element to the variable name to which the form control is assigned. This conflicts with the page container, which is styled by targeting `#content`.
This commit is contained in:
@@ -13,7 +13,7 @@ GOV.UK Notify | Edit template
|
||||
<form method="post">
|
||||
{{ textbox(form.name) }}
|
||||
{{ textbox(form.template_type) }}
|
||||
{{ textbox(form.content, highlight_tags=True) }}
|
||||
{{ textbox(form.template_content, highlight_tags=True) }}
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
delete_link=url_for('.delete_service_template', service_id=service_id, template_id=template_id) if template_id or None,
|
||||
|
||||
Reference in New Issue
Block a user