code formatting

This commit is contained in:
Hugh Rundle 2021-10-16 17:45:39 +11:00
parent a476b52f86
commit 0cd8ece474
4 changed files with 6 additions and 5 deletions

View file

@ -16,8 +16,8 @@
{% trans "Confirm" %}
</button>
<button id="hide_remove_self_button" data-controls="remove_self_button" class="button is-small" type="button" aria-pressed="false">
{% trans "Leave group" %}
</button>
{% trans "Leave group" %}
</button>
</form>
{% endif %}

View file

@ -6,7 +6,7 @@
{% endblock %}
{% block form %}
<form name="create-list" method="post" action="{% url 'lists' %}">
<form name="create-list" method="post" action="{% url 'lists' %}">
{% include 'lists/form.html' %}
</form>
{% endblock %}

View file

@ -258,7 +258,9 @@ urlpatterns = [
re_path(
r"^group/(?P<group_id>\d+)(.json)?/?$", views.Group.as_view(), name="group"
),
re_path(r"^group/delete/(?P<group_id>\d+)/?$", views.delete_group, name="delete-group"),
re_path(
r"^group/delete/(?P<group_id>\d+)/?$", views.delete_group, name="delete-group"
),
re_path(
r"^group/(?P<group_id>\d+)/add-users/?$",
views.FindUsers.as_view(),

View file

@ -284,4 +284,3 @@ def reject_membership(request):
pass
return redirect(request.user.local_path)