mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
Every time someone adds a new service we ask them what kind of organisation they work for. We can look this up based on the user’s email address now. So we should only ask the question if: - we don’t know about the organisation - or we haven’t set what type of organisation it is (this shouldn’t be possible on productions because we’ve populated the column for all existing organisations and it’s impossible to add a new one without setting it
36 lines
797 B
HTML
36 lines
797 B
HTML
{% extends "withoutnav_template.html" %}
|
|
{% from "components/radios.html" import radios %}
|
|
{% from "components/textbox.html" import textbox %}
|
|
{% 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="grid-row">
|
|
<div class="column-two-thirds">
|
|
|
|
<h1 class="heading-large">
|
|
About your service
|
|
</h1>
|
|
|
|
{% call form_wrapper() %}
|
|
|
|
{{ textbox(form.name, hint="You can change this later") }}
|
|
|
|
{% if not current_user.default_organisation.organisation_type %}
|
|
{{ radios(form.organisation_type) }}
|
|
{% endif %}
|
|
|
|
{{ page_footer('Add service') }}
|
|
|
|
{% endcall %}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|