{% extends "nav.html" %} {% block content %}
{% if id.is_some() %}

Bearbeite Vefügbarkeit für den {{ date.format("%d.%m.%Y") }}

{% else %}

Neue Vefügbarkeit für den {{ date.format("%d.%m.%Y") }}

{% endif %}
{% let times = ("00:00".to_string(), "23:59".to_string()) -%} {% if let Some(times) = time -%} {% if let AvailabilityTime::Temporarily(start, end) = times -%} {% let times = (start.to_string(), end.to_string()) -%} {% endif -%} {% endif -%}

noch mögliche Zeiträume:

{% for (s, e) in slot_suggestions %} {{ s }} - {{ e }} {% endfor %}
{% endblock %}