mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-10 20:34:41 -04:00
Merge remote-tracking branch 'origin/main-heading'
This commit is contained in:
@@ -290,7 +290,7 @@ class EmailTemplateForm(BaseTemplateForm):
|
||||
class LetterTemplateForm(EmailTemplateForm):
|
||||
|
||||
subject = TextAreaField(
|
||||
u'Title',
|
||||
u'Main heading',
|
||||
validators=[DataRequired(message="Can’t be empty")])
|
||||
|
||||
template_content = TextAreaField(
|
||||
|
||||
@@ -167,9 +167,9 @@ def add_template_by_type(service_id):
|
||||
blank_letter = service_api_client.create_service_template(
|
||||
'Untitled',
|
||||
'letter',
|
||||
'Content',
|
||||
'Body',
|
||||
service_id,
|
||||
'Title',
|
||||
'Main heading',
|
||||
'normal',
|
||||
)
|
||||
return redirect(url_for(
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<h2 class="heading-medium">Formatting</h2>
|
||||
<p>
|
||||
To put a title in your template, use a hash:
|
||||
To put a heading in your template, use a hash:
|
||||
</p>
|
||||
<div class="panel panel-border-wide">
|
||||
<p>
|
||||
# This is a title
|
||||
# This is a heading
|
||||
</p>
|
||||
</div>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user