mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
Fix create SMS template
When creating an SMS template the form validation was looking for a subject. SMS messages don’t have a subject.
This commit is contained in:
@@ -14,12 +14,8 @@
|
||||
<div class="grid-row">
|
||||
<div class="column-two-thirds">
|
||||
{{ textbox(form.name, width='1-1') }}
|
||||
{% if 'email' == template_type %}
|
||||
{{ textbox(form.subject, width='1-1') }}
|
||||
{% endif %}
|
||||
{{ textbox(form.subject, width='1-1') }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid-row">
|
||||
<div class="column-two-thirds">
|
||||
{{ textbox(form.template_content, highlight_tags=True, width='1-1') }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user