This commit is contained in:
philipp 2023-07-27 11:50:52 +02:00
parent 6f8e977ecc
commit a633239c84

View File

@ -35,9 +35,9 @@
{{ macros::input(label="Distanz", name="distance_in_km", type="number", min=0) }} {{ macros::input(label="Distanz", name="distance_in_km", type="number", min=0) }}
{{ macros::input(label="Kommentar", name="comments", type="text") }} {{ macros::input(label="Kommentar", name="comments", type="text") }}
{{ macros::select(data=logtypes, select_name='logtype', default="Normal") }} {{ macros::select(data=logtypes, select_name='logtype', default="Normal") }}
<select multiple="multiple" name="rower[]" id="rower"> <select multiple="multiple" name="rower[]" id="rower" onclick="updateSelectedRowersCount()">
{% for user in users %} {% for user in users %}
<option value="{{ user.id }}" onmousedown="event.preventDefault();this.selected = !this.selected; updateSelectedRowersCount(); return false;" onblur="updateSelectedRowersCount()" onchange="updateSelectedRowersCount()">{{user.name}}</option> <option value="{{ user.id }}" onmousedown="event.preventDefault();this.selected = !this.selected; return false;">{{user.name}}</option>
{% endfor %} {% endfor %}
</select> </select>
<script> <script>