<!-- Button trigger modal -->
<!-- Modal -->
{% load widget_tweaks %}
<div class="modal fade" id="addufr" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header" style="background: #21618C">
        <h5 class="modal-title" id="exampleModalLabel">INTEGRER UN ENSEIGNANT DANS UN ETABLISSEMENT</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 %}
            <div class="form-group">
                <label style="color:#000000;">ETABLISSEMENT</label>
                {% render_field addForm.ufr class="form-control" %}
            </div>
            <div class="modal-footer">
                <button class="btn btn-success btn-sm" name="addbtn" type="submit"><i class="fa fa-save"></i> Enregistrer</button>
            <button class="btn btn-secondary btn-sm" data-dismiss="modal">Annuler</button>
          </div>

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