gest_user_api_edit.html 772 B

1234567891011121314151617181920
  1. {% load crispy_forms_tags %}
  2. <div class="modal-dialog" role="document">
  3. <div class="modal-content">
  4. <div class="modal-header">
  5. <h5 class="modal-title">Mise a jour d'un utilisateur</h5>
  6. <button type="button" class="btn btn-sm btn-dark close" data-dismiss="modal" aria-label="Close">
  7. <span aria-hidden="true">&times;</span>
  8. </button>
  9. </div>
  10. <div class="modal-body">
  11. <form id="form_edit" action="{% url form.url item.id %}{% if get_search != "" %}?get_search={{get_search}}{% endif %}" method="post">
  12. {% csrf_token %}
  13. {{ form|crispy }}
  14. </form>
  15. </div>
  16. <div class="modal-footer">
  17. <button type="button" class="btn btn-dark" onclick="bt_send_edit()"><i class="far fa-check-square"></i> Valider</button>
  18. </div>
  19. </div>
  20. </div>