{% embed 'partials/login.html.twig' with {title:'Grav Reset Password'} %} {% block form %} {% for field in page.header.form.fields %} {% set value = attribute(admin.forgot, field.name) is defined ? attribute(admin.forgot, field.name) : null %} {% if field.type %}
{% include ["forms/fields/#{field.type}/#{field.type}.html.twig", 'forms/fields/text/text.html.twig'] %}
{% endif %} {% endfor %}
{% endblock %} {% endembed %}