{% extends 'auth/base.html.twig' %}
{% trans_default_domain 'security' %}

{% set t_root = 'auth.reset-password' %}
        
{% block title %}{{ 'auth.reset-password.title'|trans }}{% endblock %}
{% block page_title %}{{ 'auth.reset-password.title'|trans }}{% endblock %}
    

{% block body %}

    {{ form_start(form) }}

        <div class="col mb-3">
            <div class="form-errors"> {{ form_errors(form.plainPassword.first) }} </div>
            {{ form_widget(form.plainPassword.first, { 'attr': {'class': 'form-control', 'placeholder': t_root ~ '.fields.@new-password.placeholder'} }) }}
        </div>

        <div class="col mb-3">
            <div class="form-errors"> {{ form_errors(form.plainPassword.second) }} </div>
            {{ form_widget(form.plainPassword.second, { 'attr': {'class': 'form-control', 'placeholder': t_root ~ '.fields.@confirm-new-password.placeholder'} }) }}
        </div>

        <button class="btn btn-primary">{{ 'auth.reset-password.actions.reset-password'|trans }}</button>
    {{ form_end(form) }}
{% endblock %}
