Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<div class="modal fade" id="editModal_{{ model.modelid }}" tabindex="-1" role="dialog" aria-labelledby="editModal_{{ model.modelid }}" aria-modal="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Edition d'un modèle</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<form class="needs-validation">
<div class="modal-body">
<div class="form-group">
<label for="nom">Nom</label>
<input type="text" id="nom_{{ model.modelid }}" class="form-control"
value="{{ model.nom }}" required/>
</div>
<div class="form-group">
<label for="type">Fabricant</label>
<input type="text" id="fabricant_{{ model.modelid }}"
class="form-control" value="{{ model.fabricant }}" required/>
</div>
<div class="form-group">
<label for="capacite">Capacite - To</label>
<input type="number" id="capacite_{{ model.modelid }}"
class="form-control" value="{{ model.capacite }}"/>
</div>
<div class="form-group">
<label for="longueur">Longueur - M</label>
<input type="number" id="longueur_{{ model.modelid }}"
class="form-control" value="{{ model.longueur }}"/>
</div>
</div>
<div class="modal-footer">
<a id="edit_{{ model.modelid }}" class="editModel btn btn-primary text-white">
<i class="fas fa-plus-circle"></i> Modifier
</a>
</div>
</form>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div>