mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-08-18 00:48:41 +02:00
Protect pages (not tested)
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
|
||||
{% block content %}
|
||||
{% if user.registration.is_admin %}
|
||||
<button href="{% url "registration:add_organizer" %}" class="btn btn-block btn-secondary">
|
||||
<a href="{% url "registration:add_organizer" %}" class="btn btn-block btn-secondary">
|
||||
<i class="fas fa-user-plus"></i> {% trans "Add organizer" %}
|
||||
</button>
|
||||
</a>
|
||||
<hr>
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user