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

14 lines
559 B
Twig
Raw Permalink Normal View History

2024-06-20 14:10:42 +00:00
{% extends "layouts" ~ DIR ~ "default.twig" %}
{% block content %}
<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>
{% endblock %}