Files
pbt/add_entry.html
T
zisco f4c75526c3
Deploy PBT / deploy (push) Failing after 32s
Add workflow
2026-09-09 17:39:25 +02:00

40 lines
1.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends "base.html" %}
{% block title %}Neue Fahrt PBT{% endblock %}
{% block content %}
<h2>Neue Fahrt erfassen</h2>
<form method="post">
<label for="verkehrsmittel">Verkehrsmittel</label>
<select id="verkehrsmittel" name="verkehrsmittel" required>
{% for option in verkehrsmittel_optionen %}
<option value="{{ option }}">{{ option }}</option>
{% endfor %}
</select>
<label for="linie">Linie (optional)</label>
<input type="text" id="linie" name="linie" placeholder="z.B. S3, Bus 10">
<label for="von">Von</label>
<input type="text" id="von" name="von" required>
<label for="nach">Nach</label>
<input type="text" id="nach" name="nach" required>
<label for="datum">Datum</label>
<input type="date" id="datum" name="datum" value="{{ heute }}" required>
<label for="bewertung">Bewertung (15)</label>
<select id="bewertung" name="bewertung" required>
<option value="5">★★★★★ Sehr gut</option>
<option value="4">★★★★☆ Gut</option>
<option value="3" selected>★★★☆☆ Okay</option>
<option value="2">★★☆☆☆ Schlecht</option>
<option value="1">★☆☆☆☆ Sehr schlecht</option>
</select>
<label for="kommentar">Kommentar (optional)</label>
<textarea id="kommentar" name="kommentar" rows="3"></textarea>
<button type="submit">Speichern</button>
</form>
{% endblock %}