forgot-form.html.twig 743 B

123456789101112131415161718
  1. <section id="grav-login">
  2. {{ content|raw }}
  3. <form method="post" action="{{ (base_url_relative ~ uri.path)|e }}">
  4. {% for field in form.fields %}
  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 secondary-accent">
  12. <button type="submit" class="button primary" name="task" value="login.forgot"><i class="fa fa-paper-plane"></i> {{ "PLUGIN_LOGIN.BTN_SEND_INSTRUCTIONS"|t }}</button>
  13. </div>
  14. {{ nonce_field('forgot-form', 'forgot-form-nonce')|raw }}
  15. </form>
  16. </section>