forked from Ruderverein-Donau-Linz/rowt
first draft of using trip types
This commit is contained in:
@ -9,6 +9,12 @@
|
||||
{{ macros::input(label='Anzahl Ruderer (ohne Steuerperson)', name='max_people', type='number', required=true, min='0') }}
|
||||
{{ macros::checkbox(label='Gäste erlauben', name='max_allow_guestspeople') }}
|
||||
{{ macros::input(label='Anmerkungen', name='notes', type='input') }}
|
||||
<select name="trip_type">
|
||||
<option selected value>Reguläre Ausfahrt</option>
|
||||
{% for trip_type in trip_types %}
|
||||
<option value="{{ trip_type.id }}">{{ trip_type.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<input value="Erstellen" class="w-full btn btn-primary" type="submit" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -6,6 +6,12 @@
|
||||
{{ macros::input(label='Startzeit (zB "10:00")', name='planned_starting_time', type='time', required=true) }}
|
||||
{{ macros::input(label='Anzahl Ruderer (ohne Steuerperson)', name='max_people', type='number', required=true, min='0') }}
|
||||
{{ macros::input(label='Anmerkungen', name='notes', type='input') }}
|
||||
<select name="trip_type">
|
||||
<option selected value>Reguläre Ausfahrt</option>
|
||||
{% for trip_type in trip_types %}
|
||||
<option value="{{ trip_type.id }}">{{ trip_type.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<input value="Erstellen" class="w-full btn btn-primary" type="submit" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user