{% macro header(loggedin_user) %}
Hü {{ loggedin_user.name }}
{% include "includes/question-icon" %} FAQs {% if loggedin_user.is_admin %} LOGBUCH Logbuch BOATS Bootsverwaltung Userverwaltung {% endif %} Ausloggen
{% endmacro header %} {% macro input(label, name, type, required=false, class='rounded-md', value='', min='', hide_label=false, id='', autofocus=false) %}
{% endmacro input %} {% macro checkbox(label, name, id='', checked=false) %} {% endmacro checkbox %} {% macro select(data, select_name='trip_type', default='', selected_id='') %} {% endmacro select %} {% macro alert(message, type, class='') %}
{{ message }}
{% endmacro alert %} {% macro box(participants, empty_seats='', header='Freie Plätze:', text='Keine Ruderer angemeldet', bg='primary-600', color='white') %}
{{ header }} {{ empty_seats }}
{% if participants | length > 0 %} {% for rower in participants %} {{ rower.name }} {% if rower.is_guest %} (Gast) {% endif %}
{% endfor %} {% else %} {{ text }} {% endif %}
{% endmacro box %} {% macro faq(question, answer) %}

{{ question }}

{{ answer | safe }}

{% endmacro faq %}