mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-05 22:38:25 -04:00
Convert IntegerFields to GovukIntegerFields
Changes those fields in the following forms: - FreeSMSAllowance - ProviderForm - ProviderRatioForm - ServiceDataRetentionEditForm Includes changes to templates that use this form and associated tests.
This commit is contained in:
@@ -25,7 +25,7 @@ Provider - {{provider.display_name}}
|
||||
</ul>
|
||||
|
||||
{% call form_wrapper() %}
|
||||
{{ textbox(form.priority) }}
|
||||
{{ form.priority }}
|
||||
{{ page_footer('Save') }}
|
||||
{% endcall %}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
{% call form_wrapper() %}
|
||||
{{ radios(form.notification_type) }}
|
||||
{{ textbox(form.days_of_retention) }}
|
||||
{{ form.days_of_retention }}
|
||||
{{ page_footer('Add') }}
|
||||
{% endcall %}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
) }}
|
||||
{% call form_wrapper() %}
|
||||
{{ notification_type | capitalize}}
|
||||
{{ textbox(form.days_of_retention) }}
|
||||
{{ form.days_of_retention }}
|
||||
{{ page_footer('Save') }}
|
||||
{% endcall %}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
'Free text message allowance',
|
||||
back_link=url_for('.service_settings', service_id=current_service.id)
|
||||
) }}
|
||||
{{ textbox(form.free_sms_allowance) }}
|
||||
{{ form.free_sms_allowance }}
|
||||
{{ page_footer('Save') }}
|
||||
{% endcall %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user