               {% endif %}
                    </div>
                    
                    <!-- Group Settings Form (hidden by default) -->
                    <div id="group-settings-form" style="display: none;">
                        <form id="groupSettingsForm" action="/update_group_settings/{{ group.id }}" method="POST">
                            <div class="mb-3">
                                <label for="group_name" class="form-label">Group Name</label>
                                <input