From c2034ed6908b8a20b334f77d8a91cd3a6d720728 Mon Sep 17 00:00:00 2001 From: philipp Date: Sat, 4 Nov 2023 15:07:16 +0100 Subject: [PATCH] show proper amount of guests (changed bc cox is now included in rowers) --- templates/includes/forms/log.html.tera | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/includes/forms/log.html.tera b/templates/includes/forms/log.html.tera index b4a1b72..eab4a57 100644 --- a/templates/includes/forms/log.html.tera +++ b/templates/includes/forms/log.html.tera @@ -181,7 +181,7 @@ {% endif %} {% set amount_rowers = log.rowers | length %} - {% set amount_guests = log.boat.amount_seats - amount_rowers -1 %} + {% set amount_guests = log.boat.amount_seats - amount_rowers %} {% if allowed_to_close and state == "on_water" %} {{ log::home(log=log, only_ones=only_ones) }} {% else %}