20 lines
813 B
Twig
20 lines
813 B
Twig
{% embed 'partials/login.html.twig' with {title:'Grav Forgot Password'} %}
|
|
|
|
{% block form %}
|
|
{% for field_name,field in form.fields %}
|
|
{% if field.type %}
|
|
{% set field = field|merge({ name: field.name ?? field_name }) %}
|
|
{% set value = form.value(field.name) %}
|
|
<div>
|
|
{% include ["forms/fields/#{field.type}/#{field.type}.html.twig", 'forms/fields/text/text.html.twig'] %}
|
|
</div>
|
|
{% endif %}
|
|
{% endfor %}
|
|
<div class="form-actions primary-accent">
|
|
<button type="submit" class="button primary" name="task" value="forgot"><i class="fa fa-paper-plane"></i> {{ "PLUGIN_ADMIN.LOGIN_BTN_SEND_INSTRUCTIONS"|tu }}</button>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% endembed %}
|
|
|