forked from mirrors/bookwyrm
code formatting
This commit is contained in:
parent
a476b52f86
commit
0cd8ece474
4 changed files with 6 additions and 5 deletions
|
@ -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 %}
|
||||
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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(),
|
||||
|
|
|
@ -284,4 +284,3 @@ def reject_membership(request):
|
|||
pass
|
||||
|
||||
return redirect(request.user.local_path)
|
||||
|
||||
|
|
Loading…
Reference in a new issue