{% extends 'core_main_app/_render/admin/theme/tools/modal.html' %}

{% block modal_id %}delete-result-modal{% endblock %}
{% block modal_title %}Delete {{data.document}}{% endblock %}

{% block modal_body %}
<div class="alert alert-danger" id="delete_banner_errors" style="display: none;">
        <a href="#" class="close" data-hide="alert" aria-label="close">&times;</a>
     	<h4><i class="fa fa-exclamation-circle"></i> Error</h4>
        <div id="delete_document_errors"></div>
</div>
<input type="hidden" class="{{data.document}}-id"/>
<p>
    The {{data.document}} will be erased.
</p>
<p>Are you sure you want to delete this {{data.document}}?</p>
{% endblock %}

{% block modal_footer %}
<a class="btn btn-default pull-left" data-dismiss="modal" href="#"><i class="fa fa-times"></i> No</a>
<a id="delete-document-yes" class="btn btn-danger" href="#"><i class="fa fa-check"></i> Yes</a>
{% endblock %}
