doughnut-wedding/app/Resources/FOSUserBundle/views/Resetting/reset_content.html.twig

20 lines
1.2 KiB
Twig
Raw Permalink Normal View History

2017-04-09 18:08:01 -07:00
{% trans_default_domain 'FOSUserBundle' %}
2017-04-26 21:32:43 -07:00
<h2 class="uk-heading-line"><span>Reset your password</span></h2>
{{ form_start(form, { 'action': path('fos_user_resetting_reset', {'token': token}), 'attr': { 'class': 'uk-form uk-form-horizontal fos_user_resetting_reset' } }) }}
2017-04-09 18:08:01 -07:00
2017-04-26 21:32:43 -07:00
{{ form_label(form.plainPassword.first, 'New password', {'label_attr':{'class':'uk-form-label uk-visible@m'}}) }}
<div class="uk-form-controls uk-form-controls-text uk-margin-small-bottom">
{{ form_errors(form.plainPassword.first) }}
{{ form_widget(form.plainPassword.first, {'attr':{'class':'uk-input uk-form-large','placeholder':'New password'}}) }}
</div>
{{ form_label(form.plainPassword.second, 'Repeat password', {'label_attr':{'class':'uk-form-label uk-visible@m'}}) }}
<div class="uk-form-controls uk-form-controls-text">
{{ form_errors(form.plainPassword.second) }}
{{ form_widget(form.plainPassword.second, {'attr':{'class':'uk-input uk-form-large','placeholder':'Repeat password'}}) }}
</div>
<div class="uk-margin-medium-top uk-width-1-1 uk-text-right@m">
<input type="submit" class="uk-button uk-width-1-1@s uk-width-1-2@m uk-button-large uk-button-primary" value="{{ 'resetting.reset.submit'|trans }}" />
2017-04-09 18:08:01 -07:00
</div>
{{ form_end(form) }}