20 lines
791 B
Twig
20 lines
791 B
Twig
{% embed 'partials/login.html.twig' with {title:'Grav Reset 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="reset"><i class="fa fa-key"></i> {{ 'PLUGIN_ADMIN.LOGIN_BTN_RESET'|tu }}</button>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% endembed %}
|
|
|