{% extends "SsoBackendBundle:PasswordPolicy:base.html.twig" %}
{% block title %}{{ parent() }} - Index{% endblock %}

{% block body %}
    <br/><br/>

    <h2>Delete password policy</h2>

    <hr/><br/>

    <div class="row" style="background: #EEEEEE; padding: 15px;">
        <div class="col-md-12">
            <strong>Are you sure you want to delete the policy</strong> <em>{{ policy.policyId }}</em><strong>?</strong><br>
            <br>
            {{ policy.policyDescription }}
        </div>
    </div>

    <div class="row" style="background: #FFFFFF; padding: 15px;">
        <div class="col-md-10">
        </div>
        <div class="col-md-1">
            <a href="{{ path('_admin_backend_passwordpolicy_list') }}" class="btn btn-success">NO</a>
        </div>
        <div class="col-md-1">
            <a href="{{ path('_admin_backend_passwordpolicy_delete', {'policyId': policy.policyId, 'exec': '1'}) }}" class="btn btn-danger">YES</a>
        </div>
    </div>

{% endblock %}
