From 4320caa0bd57103333f6c3dc565f7a330bcedd67 Mon Sep 17 00:00:00 2001
From: Andreas Hubel <andi@saerdnaer.de>
Date: Mon, 16 Dec 2024 23:08:53 +0100
Subject: [PATCH] chore(sos-form): add capacity to room dropdown

---
 src/backoffice/templates/backoffice/sos_create_edit.html | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backoffice/templates/backoffice/sos_create_edit.html b/src/backoffice/templates/backoffice/sos_create_edit.html
index ffaf7806e..2267fd37e 100644
--- a/src/backoffice/templates/backoffice/sos_create_edit.html
+++ b/src/backoffice/templates/backoffice/sos_create_edit.html
@@ -181,6 +181,7 @@
                         {% if form.room.value|ensure_uuid == r.id %}selected aria-selected="true"{% endif %}>
                   {{ r.name }}
                   {% if r.assembly_id != event.assembly_id %}<span class="text-muted">({{ r.assembly.slug }})</span>{% endif %}
+                  {% if r.capacity %}<span class="text-muted">[{{ r.capacity }} seats]</span>{% endif %}
                 </option>
               {% endfor %}
             </select>
-- 
GitLab