doughnut-wedding/app/Resources/views/reset_password_token.html.twig

39 lines
1.2 KiB
Twig
Raw Normal View History

2017-02-13 09:56:18 -08:00
{% extends 'base.html.twig' %}
{% block body %}
{% if token.valid == false %}
<h3>
Sorry your token ({{ token.value }}) is invalid.
</h3>
<p>
Please see <a href="{{ url('rsvp_password_reset') }}">{{ url('rsvp_password_reset') }}</a>.
</p>
{% else %}
{{ form_start(form) }}
<fieldset class="uk-fieldset uk-margin-small-bottom">
<legend class="uk-legend">Choose a new password .</legend>
</fieldset>
{{ form_label(form.password.children.first) }}
<div class="uk-form-controls uk-form-controls-text">
{{ form_errors(form.password.children.first) }}
{{ form_widget(form.password.children.first) }}
</div>
{{ form_label(form.password.children.second) }}
<div class="uk-form-controls uk-form-controls-text ">
{{ form_errors(form.password.children.second) }}
{{ form_widget(form.password.children.second) }}
</div>
<div class="uk-form-controls uk-align-right@m uk-margin">
{{ form_row(form.submit) }}
</div>
<div class="form-controls uk-form-blank">
{{ form_rest(form) }}
</div>
{{ form_end(form) }}
{% endif %}
{% endblock %}