Update AddGPOrganisationForm with new fields

Changes its StingFields to GovukTextInputFields.

Includes changes to templates that use this form
and associated tests.
This commit is contained in:
Pea Tyczynska
2020-08-04 16:45:49 +01:00
committed by Tom Byers
parent 9437a23f09
commit f38e268db6
3 changed files with 3 additions and 3 deletions

View File

@@ -1061,7 +1061,7 @@ class AddGPOrganisationForm(StripWhitespaceForm):
),
)
name = StringField(
name = GovukTextInputField(
'Whats your practice called?',
)

View File

@@ -22,7 +22,7 @@
{% endfor %}
{% endcall %}
{% call conditional_radio_panel('custom-organisation-name') %}
{{ textbox(form.name) }}
{{ form.name }}
{% endcall %}
{{ page_footer('Continue') }}
{% endcall %}