leilukin-tumbleblog/themes/leilukin/forms/user/lost_password.twig

16 lines
605 B
Twig

{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
<div class="lost_password standalone">
<h2>{{ "Lost password" | translate }}</h2>
<form action="{{ url('lost_password') }}" method="post" accept-charset="UTF-8">
<label for="login">{{ "Username" | translate }}</label>
<input type="text" name="login" value="{{ posted('login') | fix(true, true) }}" id="login" autofocus>
<input type="hidden" name="hash" value="{{ authenticate() }}" id="hash">
<div class="doaction">
<button name="submit" type="submit" id="submit">{{ "Submit" | translate }}</button>
</div>
</form>
</div>
{% endblock %}