15 lines
517 B
HTML
15 lines
517 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<form method="POST" action=".">
|
|
<select name="location_id">
|
|
<option value="" {{ "selected" if "location" not in session else ""}}>-</option>
|
|
{% for location in locations %}
|
|
<option value="{{ location.location_id }}" {{ "selected" if "location" in session and session.location.location_id == location.location_id else "" }}>{{ location.location_name }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
|
|
<button type="submit">Raum wählen</button>
|
|
</form>
|
|
{% endblock %}
|