{% extends 'index.html.twig' %}
{% block title %}Reset your password{% endblock %}
{% set datas = {
'category': 'Mot de passe oubliƩ',
'title': 'Je modifie mon mot de passe',
}
%}
{% block content %}
<div class="bg_blue">
<section class="container form connexion">
<h3 class="category">{{datas.category}}</h3>
<h1 class="title">{{datas.title}}</h1>
<div class="row">
<div class="formblock twocols">
{{ form_start(resetForm, {
'attr': {
'id' : 'resetForm'
}
}) }}
<div class="tabs_block">
<ul class="tabs">
<li class="tab open"><p class="txt">{{ 'form.coords'|trans }}</p></li>
</ul>
<div class="content open" style="opacity: 1;">
<div class="input_group first">
{{ form_widget(resetForm.password.first,{
'attr': {
'class': 'inputdata',
'title': 'title.password.regex'
}
}) }}
{{ form_errors(resetForm.password.first, {
'attr': {
'class': 'inputdata'
}
}) }}
</div>
<div class="input_group last">
{{ form_widget(resetForm.password.second, {
'attr': {
'class': 'inputdata',
'title': 'title.password.regex'
}
}) }}
{{ form_errors(resetForm.password.second) }}
</div>
{{ form_widget(resetForm.email, {
'attr' : { 'value': email, 'class': 'inputdata'}
}) }}
</div>
</div>
{% set label = 'form.confirm'|trans %}
{% include 'olivier/elements/form_button.html.twig' with {label: label } %}
{{ form_end(resetForm) }}
</form>
</div>
</div>
</section>
</div>
{% endblock %}
{% block javascripts %}
{{ parent() }}
{{ encore_entry_script_tags('auth') }}
{% endblock %}