<divclass="mb-3"><labelclass="form-label">Titre *</label><inputtype="text"name="title"class="form-control"value="{{ training.name if training is defined else '' }}"required></div>
<divclass="mb-3"><labelclass="form-label">Description</label><textareaname="description"class="form-control"rows="3">{{ training.description if training is defined and training.description else '' }}</textarea></div>
<divclass="col-md-6"><labelclass="form-label">Date début *</label><inputtype="date"name="start_date"class="form-control"value="{{ training.start_date.isoformat() if training is defined and training.start_date else '' }}"required></div>
<divclass="col-md-6"><labelclass="form-label">Date fin</label><inputtype="date"name="end_date"class="form-control"value="{{ training.end_date.isoformat() if training is defined and training.end_date else '' }}"></div>
<divclass="col-md-12"><labelclass="form-label">Lieu</label><inputtype="text"name="location"class="form-control"value="{{ training.location if training is defined and training.location else '' }}"></div>