500 dark:text-gray-400">
                              <i class="fas fa-book mr-1"></i> {{ group.subject }}
                            </span>
                          </div>
                        </div>
                        <div>
                          {% if request.user in group.members.all %}
                            <form method="post">
                              {% csrf_token %}
                              <input type="hidden" name="action" value="leave" />
                           