mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-24 03:00:56 -04:00
Changes the OrganisationTypeField class used by OrganisationOrganisationTypeForm.organisation_type OrganisationTypeField is also used by the forms in /add-service: - CreateServiceForm - CreateNhsServiceForm Because of that, this commit also includes changes to the template for that route. Note: this also moves where OrganisationTypeField appears in app/main/forms.py so it can use GovukRadiosField.
33 lines
739 B
HTML
33 lines
739 B
HTML
{% extends "withoutnav_template.html" %}
|
|
{% from "components/page-header.html" import page_header %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
{% from "components/form.html" import form_wrapper %}
|
|
|
|
{% block per_page_title %}
|
|
{{ heading }}
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
<div class="govuk-grid-row">
|
|
<div class="govuk-grid-column-two-thirds">
|
|
|
|
{{ page_header('About your service') }}
|
|
|
|
{% call form_wrapper() %}
|
|
|
|
{{ form.name(param_extensions={"hint": {"text": "You can change this later"}}) }}
|
|
|
|
{% if not default_organisation_type %}
|
|
{{ form.organisation_type }}
|
|
{% endif %}
|
|
|
|
{{ page_footer('Add service') }}
|
|
|
|
{% endcall %}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|