<!-- Button trigger modal -->
<!-- Modal -->
{% load widget_tweaks %}
<div class="modal fade" id="delufr{{item.id}}" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header" style="background:red;color:#fff;">
        <h5 class="modal-title" id="exampleModalLabel">RETIRER UN ENSEIGNANT D'UNE UFR</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <form method="post" action="#">
            {% csrf_token %}
            <h4 style="text-align:center;">Voulez-vous retirer l'enseignant de cette ufr ?</h4>
            <div class="form-group">
                <input type="text" name="ufrid" value="{{item.id}}" hidden />
            </div>
            <div class="modal-footer">
                <button class="btn btn-danger btn-sm" name="delbtn" type="submit"><i class="fa fa-save"></i> Oui</button>
            <button class="btn btn-secondary btn-sm" data-dismiss="modal">Non</button>
          </div>

        </form>
      </div>
    </div>
  </div>
</div>