{% extends "withoutnav_template.html" %}
{% from "components/page-header.html" import page_header %}
{% from "components/page-footer.html" import page_footer %}
{% from "components/textbox.html" import textbox %}
{% from "components/radios.html" import radios %}
{% from "components/form.html" import form_wrapper %}

{% block per_page_title %}
  New organisation
{% endblock %}

{% block fullwidth_content %}
  <div id="content">
    <div class="navigation-service">
      <a href="{{ url_for('.organisations') }}" class="navigation-service-back-to">All organisations</a>
      <a href="{{ url_for('main.choose_account') }}" class="navigation-service-switch">Switch service</a>
    </div>

    <main role="main">
      <div class="grid-row">
        <div class="column-one-quarter">
          &nbsp;
        </div>
        <div class="column-three-quarters">
          {{ page_header('New organisation') }}
          {% call form_wrapper() %}
            {{textbox(form.name)}}
            {{radios(form.organisation_type)}}
            {{radios(form.crown_status)}}
            {{ page_footer('Save') }}
          {% endcall %}
        </div>
      </div>
    </main>
  </div>

{% endblock %}
