{% load crispy_forms_tags %}
<div class="modal-dialog" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<h5 class="modal-title">Modifier les informations d'un port de SWITCH</h5>
				<button type="button" class="btn btn-sm btn-dark close" data-dismiss="modal" aria-label="Close">
				<span aria-hidden="true">&times;</span>
				</button>
			</div>
			<div class="modal-body">
				<form id="form_edit" action="{% if item.id != None %}{% url 'parc_info_switch_edit_port' item.PL_Swich.id item.id %}{% else %}{% url 'parc_info_switch_edit_port' item.PL_Swich.id '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>