forked from Ruderverein-Donau-Linz/rowt
show how many people can join trip, even if no one is registered yet
This commit is contained in:
parent
57750620b0
commit
b50d546a5c
@ -187,9 +187,7 @@
|
||||
<div class="hidden">
|
||||
<div id="trip{{ trip.trip_details_id }}">
|
||||
{% set amount_cur_rower = trip.rower | length %}
|
||||
{% if amount_cur_rower > 0 %}
|
||||
{{ macros::box(participants=trip.rower, empty_seats=trip.max_people - amount_cur_rower, bg='primary-100', color='black') }}
|
||||
{% endif %}
|
||||
{{ macros::box(participants=trip.rower, empty_seats=trip.max_people - amount_cur_rower, bg='primary-100', color='black') }}
|
||||
{# --- START Edit Form --- #}
|
||||
{% if trip.cox_id == loggedin_user.id %}
|
||||
<div class="bg-gray-100 p-3 mt-4 rounded-md">
|
||||
|
Loading…
x
Reference in New Issue
Block a user