{% 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) %}
{% include ["forms/fields/#{field.type}/#{field.type}.html.twig", 'forms/fields/text/text.html.twig'] %}
{% endif %} {% endfor %}
{% endblock %} {% endembed %}