+14
-14
@@ -5,8 +5,8 @@
|
||||
<h2>Neue Fahrt erfassen</h2>
|
||||
<form method="post">
|
||||
<div class="field">
|
||||
<label for="verkehrsmittel">Verkehrsmittel<span class="required">*</span></label>
|
||||
<select id="verkehrsmittel" name="verkehrsmittel" required>
|
||||
<label for="transport_mode">Verkehrsmittel<span class="required">*</span></label>
|
||||
<select id="transport_mode" name="transport_mode" required>
|
||||
{% for option in verkehrsmittel_optionen %}
|
||||
<option value="{{ option }}">{{ option }}</option>
|
||||
{% endfor %}
|
||||
@@ -14,28 +14,28 @@
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="linie">Linie</label>
|
||||
<input type="text" id="linie" name="linie" placeholder="z.B. S3, Bus 10">
|
||||
<label for="line">Linie</label>
|
||||
<input type="text" id="line" name="line" placeholder="z.B. S3, Bus 10">
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="von">Von<span class="required">*</span></label>
|
||||
<input type="text" id="von" name="von" required>
|
||||
<label for="origin">Von<span class="required">*</span></label>
|
||||
<input type="text" id="origin" name="origin" required>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="nach">Nach<span class="required">*</span></label>
|
||||
<input type="text" id="nach" name="nach" required>
|
||||
<label for="destination">Nach<span class="required">*</span></label>
|
||||
<input type="text" id="destination" name="destination" required>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="datum">Datum<span class="required">*</span></label>
|
||||
<input type="date" id="datum" name="datum" value="{{ heute }}" required>
|
||||
<label for="trip_date">Datum<span class="required">*</span></label>
|
||||
<input type="date" id="trip_date" name="trip_date" value="{{ heute }}" required>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="bewertung">Bewertung<span class="required">*</span></label>
|
||||
<select id="bewertung" name="bewertung" required>
|
||||
<label for="rating">Bewertung<span class="required">*</span></label>
|
||||
<select id="rating" name="rating" required>
|
||||
<option value="5">★★★★★ Sehr gut</option>
|
||||
<option value="4">★★★★☆ Gut</option>
|
||||
<option value="3" selected>★★★☆☆ Okay</option>
|
||||
@@ -45,8 +45,8 @@
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="kommentar">Kommentar</label>
|
||||
<textarea id="kommentar" name="kommentar" rows="3"></textarea>
|
||||
<label for="comment">Kommentar</label>
|
||||
<textarea id="comment" name="comment" rows="3"></textarea>
|
||||
</div>
|
||||
|
||||
<button type="submit">Speichern</button>
|
||||
|
||||
Reference in New Issue
Block a user