1234567891011121314151617181920 |
- {% load crispy_forms_tags %}
- <div class="modal-dialog modal-lg" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title">Modifier les informations d'un SWITCH</h5>
- <button type="button" class="btn btn-sm btn-dark close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- </div>
- <div class="modal-body">
- <form id="form_edit" action="{% if item.id != None %}{% url 'parc_info_switch_edit_info' item.id %}{% else %}{% url 'parc_info_switch_edit_info' '0' %}{% endif %}{% if get_search != "" %}?get_search={{get_search}}{% endif %}" method="post">
- {% csrf_token %}
- {{ form|crispy }}
- </form>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-dark" onclick="bt_send_edit()"><i class="far fa-check-square"></i> Valider</button>
- </div>
- </div>
- </div>
|