Add page to change organisation type

If a user picks the wrong thing, we should be able to override it when
they go live.
This commit is contained in:
Chris Hill-Scott
2017-10-05 12:06:40 +01:00
parent 8cc8a0bf05
commit d438109630
5 changed files with 133 additions and 12 deletions

View File

@@ -193,7 +193,7 @@
{{ optional_text_field(
(current_service.organisation_type or '')|title
) }}
{{ text_field() }}
{{ edit_field('Change', url_for('.set_organisation_type', service_id=current_service.id)) }}
{% endcall %}
{% call row() %}
{{ text_field('Free text message allowance')}}

View File

@@ -0,0 +1,22 @@
{% extends "withnav_template.html" %}
{% from "components/radios.html" import radios, branding_radios %}
{% from "components/page-footer.html" import page_footer %}
{% block service_page_title %}
Set branding and organisation
{% endblock %}
{% block maincolumn_content %}
<h1 class="heading-large">Set organisation type</h1>
<form method="post">
{{ radios(form.organisation_type) }}
{{ page_footer(
'Save',
back_link=url_for('.service_settings', service_id=current_service.id),
back_link_text='Back to settings'
) }}
</form>
</div>
{% endblock %}