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:
Tom Byers
2020-08-07 10:31:09 +01:00
parent 97ddc7923a
commit bff07c10b1
6 changed files with 17 additions and 16 deletions

View File

@@ -25,7 +25,7 @@ Provider - {{provider.display_name}}
</ul>
{% call form_wrapper() %}
{{ textbox(form.priority) }}
{{ form.priority }}
{{ page_footer('Save') }}
{% endcall %}

View File

@@ -18,7 +18,7 @@
{% call form_wrapper() %}
{{ radios(form.notification_type) }}
{{ textbox(form.days_of_retention) }}
{{ form.days_of_retention }}
{{ page_footer('Add') }}
{% endcall %}

View File

@@ -17,7 +17,7 @@
) }}
{% call form_wrapper() %}
{{ notification_type | capitalize}}
{{ textbox(form.days_of_retention) }}
{{ form.days_of_retention }}
{{ page_footer('Save') }}
{% endcall %}

View File

@@ -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 %}