mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-24 04:10:57 -05:00
Merge pull request #3538 from alphagov/start-time-hint
Make start time explicit when previewing a broadcast
This commit is contained in:
@@ -993,7 +993,7 @@ class ChooseBroadcastDurationForm(StripWhitespaceForm):
|
||||
)
|
||||
|
||||
finishes_at = RadioField(
|
||||
'When should this broadcast end?',
|
||||
'End time',
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -24,11 +24,12 @@
|
||||
field,
|
||||
hint=None,
|
||||
wrapping_class='form-group',
|
||||
show_now_as_default=True
|
||||
show_now_as_default=True,
|
||||
bold_legend=False
|
||||
) %}
|
||||
<div class="{{ wrapping_class }} {% if field.errors %} form-group-error{% endif %}">
|
||||
<fieldset>
|
||||
<legend class="form-label">
|
||||
<legend class="form-label {% if bold_legend %}govuk-!-font-weight-bold{% endif %}">
|
||||
{{ field.label.text }}
|
||||
{% if field.errors %}
|
||||
<span class="error-message" data-module="track-error" data-error-type="{{ field.errors[0] }}" data-error-label="{{ field.name }}">
|
||||
|
||||
@@ -29,9 +29,16 @@
|
||||
{{ broadcast_message.template|string }}
|
||||
|
||||
{% call form_wrapper() %}
|
||||
<h3 class="govuk-heading-s govuk-!-margin-top-6 govuk-!-margin-bottom-1">
|
||||
Start time
|
||||
</h3>
|
||||
<p class="govuk-body govuk-!-margin-bottom-4">
|
||||
Your broadcast will start when it’s approved by another member of your team.
|
||||
</p>
|
||||
{{ radio_select(
|
||||
form.finishes_at,
|
||||
show_now_as_default=False
|
||||
show_now_as_default=False,
|
||||
bold_legend=True
|
||||
) }}
|
||||
{{ page_footer('Submit for approval') }}
|
||||
{% endcall %}
|
||||
|
||||
Reference in New Issue
Block a user