eventcally/project/templates/admin/update_admin_unit.html

28 lines
731 B
HTML

{% extends "layout.html" %}
{% from "_macros.html" import render_field_with_errors, render_field %}
{%- block title -%}
{{ _('Update organization') }}
{%- endblock -%}
{% block content %}
<h1>{{ _('Update organization') }}</h1>
<form action="" method="POST">
{{ form.hidden_tag() }}
<div class="card mb-4">
<div class="card-header">
{{ admin_unit.name }}
</div>
<div class="card-body">
{{ render_field_with_errors(form.incoming_reference_requests_allowed, ri="switch") }}
{{ render_field_with_errors(form.suggestions_enabled, ri="switch") }}
{{ render_field_with_errors(form.can_create_other, ri="switch") }}
</div>
</div>
{{ render_field(form.submit) }}
</form>
{% endblock %}