{% extends "base.html" %}
{% load compress static hc_extras %}

{% block content %}

<div class="row">
<form class="col-sm-6 col-sm-offset-3" method="post">
    {% csrf_token %}
    <div class="panel panel-default">
        <div class="panel-body settings-block">
            <h2>Remove Security Key?</h2>
            <p></p>
            <p>You are about to remove
            the security key <strong>{{ credential.name|default:'unnamed' }}</strong>
            from your two-factor authentication methods.
            </p>

            {% if is_last %}
            <p>
                After removing this key,
                <strong>two-factor authentication will no longer be active</strong>
                for your {% site_name%} account.
            </p>
            {% endif %}

            <div class="text-right">
                <a
                    href="{% url 'hc-profile' %}"
                    class="btn btn-default">Cancel</a>
                <button
                    type="submit"
                    name="remove_credential"
                    class="btn btn-danger">Remove Security Key</button>
            </div>
        </div>
    </div>


</form>
</div>
{% endblock %}
