clean up templates
This commit is contained in:
@ -24,15 +24,10 @@
|
||||
|
||||
{% block panel %}
|
||||
<section class="block">
|
||||
<form name="create-group" method="post" action="{% url 'user-groups' request.user.username %}" class="box is-hidden" id="create_group">
|
||||
<header class="columns">
|
||||
<h3 class="title column">{% trans "Create group" %}</h3>
|
||||
<div class="column is-narrow">
|
||||
{% include 'snippets/toggle/toggle_button.html' with controls_text="create_group" label="close" class="delete" nonbutton=True %}
|
||||
</div>
|
||||
</header>
|
||||
{% include 'groups/form.html' %}
|
||||
</form>
|
||||
|
||||
<div class="block">
|
||||
{% include 'groups/create_form.html' with controls_text="create_group" %}
|
||||
</div>
|
||||
|
||||
{% include 'groups/user_groups.html' with memberships=memberships %}
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user