templates/app/family_member/add-modal.html.twig line 1
<div
id="add-modal"
class="modal fade"
tabindex="-1"
role="dialog"
aria-labelledby="add-modal-label"
aria-hidden="true"
data-bs-backdrop="static"
data-bs-keyboard="true"
>
<div class="modal-dialog modal-md">
{{ form_start(form) }}
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="add-modal-label">
{% trans %} Créer un nouveau parent {% endtrans %}
</h5>
<button
type="button"
class="btn-close"
data-bs-dismiss="modal"
aria-label="Close"
></button>
</div>
<div class="modal-body">
<div class="row mb-4">
<label
for="horizontal-firstname-input"
class="col-sm-3 col-form-label"
>
{{ form_label(form.first_name) }}
</label>
<div class="col-sm-9">
{{ form_widget(form.first_name) }}
<div class="text-danger" style="margin-top: 0.25rem">
<small>{{ form_errors(form.first_name) }}</small>
</div>
<div class="text-info" style="margin-top: 0.25rem">
<small>{{ form_help(form.first_name) }}</small>
</div>
</div>
</div>
<div class="row mb-4">
<label
for="horizontal-firstname-input"
class="col-sm-3 col-form-label"
>
{{ form_label(form.last_name) }}
</label>
<div class="col-sm-9">
{{ form_widget(form.last_name) }}
<div class="text-danger" style="margin-top: 0.25rem">
<small>{{ form_errors(form.last_name) }}</small>
</div>
<div class="text-info" style="margin-top: 0.25rem">
<small>{{ form_help(form.last_name) }}</small>
</div>
</div>
</div>
{#
<div class="row mb-4">
<label
for="horizontal-firstname-input"
class="col-sm-3 col-form-label"
>
{{ form_label(form.type)
</label>
<div class="col-sm-9">
{{ form_widget(form.type) }}
<div class="text-danger" style="margin-top: 0.25rem">
<small>{{ form_errors(form.type) }}</small>
</div>
<div class="text-info" style="margin-top: 0.25rem">
<small>{{ form_help(form.type) }}</small>
</div>
</div>
</div>
#}
<div class="row mb-4">
<label
for="horizontal-firstname-input"
class="col-sm-3 col-form-label"
>
{{ form_label(form.job) }}
</label>
<div class="col-sm-9">
{{ form_widget(form.job) }}
<div class="text-danger" style="margin-top: 0.25rem">
<small>{{ form_errors(form.job) }}</small>
</div>
<div class="text-info" style="margin-top: 0.25rem">
<small>{{ form_help(form.job) }}</small>
</div>
</div>
</div>
<div class="row mb-4">
<label
for="horizontal-firstname-input"
class="col-sm-3 col-form-label"
>
{{ form_label(form.email) }}
</label>
<div class="col-sm-9">
{{ form_widget(form.email) }}
<div class="text-danger" style="margin-top: 0.25rem">
<small>{{ form_errors(form.email) }}</small>
</div>
<div class="text-info" style="margin-top: 0.25rem">
<small>{{ form_help(form.email) }}</small>
</div>
</div>
</div>
<div class="row mb-4">
<label
for="horizontal-firstname-input"
class="col-sm-3 col-form-label"
>
{{ form_label(form.phone) }}
</label>
<div class="col-sm-9">
{{ form_widget(form.phone) }}
<div class="text-danger" style="margin-top: 0.25rem">
<small>{{ form_errors(form.phone) }}</small>
</div>
<div class="text-info" style="margin-top: 0.25rem">
<small>{{ form_help(form.phone) }}</small>
</div>
</div>
</div>
<div class="row mb-4">
<label
for="horizontal-firstname-input"
class="col-sm-3 col-form-label"
>
{{ form_label(form.mobile) }}
</label>
<div class="col-sm-9">
{{ form_widget(form.mobile) }}
<div class="text-danger" style="margin-top: 0.25rem">
<small>{{ form_errors(form.mobile) }}</small>
</div>
<div class="text-info" style="margin-top: 0.25rem">
<small>{{ form_help(form.mobile) }}</small>
</div>
</div>
</div>
<div class="row mb-4">
<label
for="horizontal-firstname-input"
class="col-sm-3 col-form-label"
>
{{ form_label(form.photo) }}
</label>
<div class="col-sm-9">
{{ form_widget(form.photo) }}
<div class="text-danger" style="margin-top: 0.25rem">
<small>{{ form_errors(form.photo) }}</small>
</div>
<div class="text-info" style="margin-top: 0.25rem">
<small>{{ form_help(form.photo) }}</small>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button
type="button"
class="btn btn-secondary waves-effect"
data-bs-dismiss="modal"
>
{% trans %} Annuler {% endtrans %}
</button>
<button type="submit" class="btn btn-primary waves-effect waves-light">
{% trans %} Sauvegarder {% endtrans %}
</button>
</div>
</div>
{{ form_end(form) }}
</div>
</div>