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

{% block modal_id %}change-owner-modal{% endblock %}
{% block modal_title %}Change owner{% endblock %}


{% block modal_body %}
<div class="alert alert-danger" id="banner_change_owner_errors" style="display: none;">
    <h4><i class="fa fa-exclamation-circle fa-1x"></i> Error</h4>
    <div id="form_change_owner_errors">
    </div>
</div>

<input type="hidden" class="{{data.document}}-id"/>
<p>
    The owner of the document will be modified.
</p>
<p>Please select the new owner:
       {{data.user_form}}</p>
{% endblock %}

{% block modal_footer %}
<a class="btn btn-default pull-left" data-dismiss="modal" href="#"><i class="fa fa-times"></i> Cancel</a>
<a id="change-owner-yes" class="btn btn-default" href="#"><i class="fa fa-check"></i> Change</a>
{% endblock %}
