{% extends "base.html" %} {% block content %}
{{ form.csrf_token }}
Suche
{{ form.location(class="form-control", id="locationInput", placeholder="Standort eingeben") }} {% if form.location.errors %}
{{ form.location.errors[0] }}
{% endif %}
{{ form.therapy_distance(class="form-range", id="distanceRange", min=0, max=50, step=1, oninput="this.nextElementSibling.value = this.value") }} {{ form.therapy_distance.data or 25 }} km {% if form.therapy_distance.errors %}
{{ form.therapy_distance.errors[0] }}
{% endif %}
{{ form.therapy_type.label }} {% for subfield in form.therapy_type %}
{{ subfield(class="form-check-input") }}
{% endfor %} {% if form.therapy_type.errors %}
{{ form.therapy_type.errors[0] }}
{% endif %}
{{ form.therapy_age_range.label }} {% for subfield in form.therapy_age_range %}
{{ subfield(class="form-check-input") }}
{% endfor %} {% if form.therapy_age_range.errors %}
{{ form.therapy_age_range.errors[0] }}
{% endif %}
{{ form.therapy_setting.label }} {% for subfield in form.therapy_setting %}
{{ subfield(class="form-check-input") }}
{% endfor %} {% if form.therapy_setting.errors %}
{{ form.therapy_setting.errors[0] }}
{% endif %}
{% endblock %}