templates/app/user/tabs/infos-tab.html.twig line 1
<div class="tab-pane active" id="infos-tab" role="tabpanel">
<div class="card">
<div class="card-header">
<h5 class="card-title mb-0">
{% trans %}
Informations
{% endtrans %}
</h5>
</div>
<div class="card-body">
<div class="row justify-content-center">
<div class="col-md-8">
{{ form_start(form) }}
<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-lastname-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-email-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-email-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-photo-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>
<br>
<div class="row mb-4 my-4 justify-content-end">
<div class="col-6">
<button type="submit" class="btn btn-primary waves-effect waves-light float-right">
<i class="mdi mdi-square-edit-outline me-1"></i>
{% trans %}
Mise à jour
{% endtrans %}
</button>
</div>
</div>
{{ form_end(form) }}
</div>
</div>
</div>
</div>
</div>