mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
users: Drop cancel button show submit as danger in delete page
- For consistency with the rest of the interface and better UX. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
f2c40d8319
commit
0cd5dd6e09
@ -19,11 +19,8 @@
|
||||
<form class="form" method="post">
|
||||
{% csrf_token %}
|
||||
|
||||
<input type="submit" class="btn btn-md btn-primary"
|
||||
<input type="submit" class="btn btn-md btn-danger"
|
||||
value="{% blocktrans with username=object.username %}Delete {{ username }}{% endblocktrans %}"/>
|
||||
|
||||
<a href="{% url 'users:index' %}" role="button"
|
||||
class="btn btn-md btn-primary">{% trans "Cancel" %}</a>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user