{% extends 'settings/base.html.twig' %}

{% block stylesheets %}
    {{ parent() }}
    <link rel="stylesheet" href="{{ asset('styles/globals/form.css') }}">
{% endblock %}

{% block form %}
        {{ form_start(form, { attr: { class: 'bulle bulle-all-col form-wrapper' } }) }}

            <div class="form-group">
                {{ form_label(form.current_password, "" , { label_attr: { class: 'form-label' } }) }}
                {{ form_widget(form.current_password, { attr: { class: 'form-input' } }) }}
                {{ form_errors(form.current_password) }}
            </div>

            <div class="form-group">
                {{ form_label(form.new_password, "" , { label_attr: { class: 'form-label' } }) }}
                {{ form_widget(form.new_password, { attr: { class: 'form-input' } }) }}
                {{ form_errors(form.new_password) }}
            </div>

            <div class="form-group">
                {{ form_label(form.new_password_confirmation, "" , { label_attr: { class: 'form-label' } }) }}
                {{ form_widget(form.new_password_confirmation, { attr: { class: 'form-input' } }) }}
                {{ form_errors(form.new_password_confirmation) }}
            </div>

        <div class="form-wrapper__footer">
            <button type="submit" class="form-btn">Enregistrer</button>
        </div>
        {{ form_end(form) }}
{% endblock %}
