~homeworkprod/byceps-bungalows

ae67f27721a44fc7a070c4e235531d84cf950ae4 — Jochen Kupperschmidt 2 months ago 50079d1
Add missing template for admin form to appoint bungalow manager
A byceps/blueprints/admin/bungalow/templates/admin/bungalow/appoint_manager_form.html => byceps/blueprints/admin/bungalow/templates/admin/bungalow/appoint_manager_form.html +25 -0
@@ 0,0 1,25 @@
{% extends 'layout/admin/base.html' %}
{% from 'macros/admin.html' import render_backlink %}
{% from 'macros/forms.html' import form_buttons, form_field %}
{% from 'macros/icons.html' import render_icon %}
{% set current_page = 'bungalow_admin' %}
{% set current_page_party = party %}
{% set page_title = 'Verwaltung ├╝bertragen' %}

{% block before_body %}
{{ render_backlink(url_for('.index_for_party', party_id=party.id), 'Bungalows') }}
{%- endblock %}

{% block body %}

  <h1 class="title">{{ render_icon('arrow-right') }} {{ page_title }}</h1>

  <form action="{{ url_for('.appoint_manager', occupancy_id=occupancy.id) }}" method="post">
    <div class="box">
      {{ form_field(form.manager, autofocus='autofocus') }}
    </div>

    {{ form_buttons(_('Assign')) }}
  </form>

{%- endblock %}