From fad7d747d72fd18d807170173858d02692b1df0e Mon Sep 17 00:00:00 2001 From: philipp Date: Thu, 27 Jul 2023 12:31:53 +0200 Subject: [PATCH] fixes --- templates/includes/forms/log.html.tera | 42 +++++++++++++------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/templates/includes/forms/log.html.tera b/templates/includes/forms/log.html.tera index f3c7533..4f44ace 100644 --- a/templates/includes/forms/log.html.tera +++ b/templates/includes/forms/log.html.tera @@ -7,7 +7,7 @@ var selectedOption = selectElement.selectedOptions[0]; var shipmaster_only_steering = selectedOption.getAttribute("extra-default_shipmaster_only_steering") === 'true'; document.getElementById('shipmaster_only_steering').checked = shipmaster_only_steering; - document.getElementById('new-rower-max_rower_allowed').innerHTML = selectedOption.getAttribute("extra-amount_seats"); + document.getElementById('newrower-max_rower_allowed').innerHTML = selectedOption.getAttribute("extra-amount_seats"); } document.getElementById('boat_id').addEventListener('change', updateElementsBasedOnSelectedOption); @@ -35,7 +35,7 @@ {{ macros::input(label="Distanz", name="distance_in_km", type="number", min=0) }} {{ macros::input(label="Kommentar", name="comments", type="text") }} {{ macros::select(data=logtypes, select_name='logtype', default="Normal") }} - {{ log::rower_select(id="new-rower", selected=[]) }} + {{ log::rower_select(id="newrower", selected=[]) }} -/{{amount_seats}} Ruderer ausgewählt + + + /{{amount_seats}} Ruderer ausgewählt {% endmacro rower_select %}