fix: rename activate user form name

This commit is contained in:
Dustin Steiner 2023-01-28 08:31:16 +00:00
parent 54aea0654a
commit 3fdbfe405b
No known key found for this signature in database
GPG key ID: 918D51522D8CB8F2

View file

@ -16,7 +16,7 @@
{% endif %}
{% if not user.is_active and user.deactivation_reason == "pending" %}
<form name="suspend" method="post" action="{% url 'settings-activate-user' user.id %}" class="mr-1">
<form name="activate" method="post" action="{% url 'settings-activate-user' user.id %}" class="mr-1">
{% csrf_token %}
<button type="submit" class="button is-success is-light">{% trans "Activate user" %}</button>
</form>