From 69edb63dddc9d8fee3c955e7848db74a39b0c7e2 Mon Sep 17 00:00:00 2001 From: philipp Date: Fri, 8 Mar 2024 13:46:00 +0100 Subject: [PATCH] styling --- templates/board/boathouse.html.tera | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/templates/board/boathouse.html.tera b/templates/board/boathouse.html.tera index c70cb17..a92fbd4 100644 --- a/templates/board/boathouse.html.tera +++ b/templates/board/boathouse.html.tera @@ -8,16 +8,21 @@ {% set place = boathouse[aisle][side_name] %} {% if place[level] %} {{ place[level].1.name }} X + {% elif boats | length > 0 %} +
+ Kein Boot +
+ {{ macros::select(label="Boot", data=boats, name="boat_id", id="boat_id", display=["name", " (","amount_seats", " x)"], wrapper_class="col-span-4") }} + + + + +
+
{% else %} -
- {{ macros::select(label="Boot", data=boats, name="boat_id", id="boat_id", display=["name", " (","amount_seats", " x)"], wrapper_class="col-span-4") }} - - - - -
+ Kein Boot {% endif %} {% endmacro show_place %}