reset.html.twig 764 B

12345678910111213141516171819
  1. {% embed 'partials/login.html.twig' with {title:'Grav Reset Password'} %}
  2. {% block form %}
  3. {% for field in form.fields %}
  4. {% set value = attribute(admin.forgot, field.name) is defined ? attribute(admin.forgot, field.name) : null %}
  5. {% if field.type %}
  6. <div>
  7. {% include ["forms/fields/#{field.type}/#{field.type}.html.twig", 'forms/fields/text/text.html.twig'] %}
  8. </div>
  9. {% endif %}
  10. {% endfor %}
  11. <div class="form-actions primary-accent">
  12. <button type="submit" class="button primary" name="task" value="reset"><i class="fa fa-key"></i> {{ 'PLUGIN_ADMIN.LOGIN_BTN_RESET'|tu }}</button>
  13. </div>
  14. {% endblock %}
  15. {% endembed %}