{% extends "base.html" %} {% from 'macros/help.html' import help_icon %} {% block title %}{% if template %}Upravit šablonu — MedCover{% else %}Nová šablona akce — MedCover{% endif %}{% endblock %} {% block content %}

{% if template %}Upravit šablonu „{{ template.name }}“{% else %}Nová šablona akce{% endif %}

{% if template %} {% endif %}
Hodiny oddělené čárkou, např. 24 nebo 24,48

Pozice — zdravotnická obsazení
{% if template and template.spot_templates %} {% for st in template.spot_templates %} {% set spot_idx = loop.index0 %}
{% for cred in qualifications %}
{% endfor %}
{% endfor %} {% endif %}
{# Template element for JS-added spots #} {% if equipment_types %}
Vybavení {{ help_icon("Plán vybavení, který se přenese na akci vytvořenou z této šablony.") }}
{% set equip_plan_map = {} %} {% if template %} {% for ep in template.equipment_plans %} {% if equip_plan_map.update({ep.equipment_type_id: ep.quantity_required}) %}{% endif %} {% endfor %} {% endif %} {% for et in equipment_types %}
{{ et.name }}
{% endfor %}
{% endif %}
Zrušit
{% endblock %} {% block extra_scripts %} {% endblock %}