#446 remove crown

This commit is contained in:
Kenneth Kehl
2023-04-13 07:13:04 -07:00
parent 6587ed5223
commit 65ea248429
23 changed files with 47 additions and 276 deletions

View File

@@ -26,7 +26,6 @@
{% call form_wrapper() %}
{{ form.name }}
{{ form.organisation_type }}
{{ form.crown_status }}
{{ page_footer('Save') }}
{% endcall %}
{% endblock %}

View File

@@ -1,25 +0,0 @@
{% extends "org_template.html" %}
{% from "components/page-footer.html" import page_footer %}
{% from "components/page-header.html" import page_header %}
{% from "components/form.html" import form_wrapper %}
{% from "components/uk_components/back-link/macro.njk" import govukBackLink %}
{% block org_page_title %}
Crown organization
{% endblock %}
{% block backLink %}
{{ govukBackLink({ "href": url_for('.organisation_settings', org_id=current_org.id) }) }}
{% endblock %}
{% block maincolumn_content %}
{{ page_header("Crown organization") }}
<div class="govuk-grid-row">
<div class="govuk-grid-column-five-sixths">
{% call form_wrapper() %}
{{ form.crown_status }}
{{ page_footer('Save') }}
{% endcall %}
</div>
</div>
{% endblock %}

View File

@@ -34,22 +34,6 @@
)
}}
{% endcall %}
{% call row() %}
{{ text_field('Crown organization') }}
{{ optional_text_field(
{
True: 'Yes',
False: 'No',
}.get(current_org.crown),
default='Not sure'
) }}
{{ edit_field(
'Change',
url_for('.edit_organisation_crown_status', org_id=current_org.id),
suffix='organization crown status'
)
}}
{% endcall %}
{% call row() %}
{{ text_field('Data sharing and financial agreement') }}
{{ text_field(