aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/sprinkles/admin/templates/modals/confirm-delete-role.html.twig
blob: 618039ba45a7fcbe0d020c9891adf960f9a8419d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{% extends "modals/modal.html.twig" %}

{% block modal_title %}{{translate("ROLE.DELETE")}}{% endblock %}

{% block modal_body %}
<form class="js-form" method="delete" action="{{site.uri.public}}/{{form.action}}">
    {% include "forms/csrf.html.twig" %}
    <div class="js-form-alerts">
    </div>
    <h4>{{translate("ROLE.DELETE_CONFIRM", {name: role.name})}}<br><small>{{translate("DELETE_CANNOT_UNDONE")}}</small></h4>
    <br>
    <div class="btn-group-action">
        <button type="submit" class="btn btn-danger btn-lg btn-block">{{translate("ROLE.DELETE_YES")}}</button>
        <button type="button" class="btn btn-default btn-lg btn-block" data-dismiss="modal">{{translate("CANCEL")}}</button>
    </div>
</form>
{% endblock %}