mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-07-01 00:01:26 +02:00
Move some buttons, my account form is now working
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
|
||||
{% block content %}
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form|crispy }}
|
||||
<input type="submit" class="btn btn-primary btn-block" value="{% trans "Submit" %}">
|
||||
</form>
|
||||
|
@ -4,4 +4,8 @@
|
||||
|
||||
{% block content %}
|
||||
{% render_table table %}
|
||||
{% if user.admin %}
|
||||
<hr>
|
||||
<a class="btn btn-block btn-secondary" href="{% url "tournament:add_organizer" %}"><i class="fas fa-user-plus"></i> {% trans "Add an organizer" %}</a>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user