login-form.html.twig 876 B

12345678910111213141516171819
  1. <section id="grav-login">
  2. {{ content }}
  3. {% include 'partials/messages.html.twig' %}
  4. <form method="post" action="{{ uri.url ~ page.header.form.action}}">
  5. {% for field in page.header.form.fields %}
  6. {% if field.type %}
  7. <div>
  8. {% include ["forms/fields/#{field.type}/#{field.type}.html.twig", 'forms/fields/text/text.html.twig'] %}
  9. </div>
  10. {% endif %}
  11. {% endfor %}
  12. <div class="form-actions secondary-accent">
  13. {#<a class="button secondary" href="{{ base_url_relative }}/forgot"><i class="fa fa-exclamation-circle"></i> {{ 'LOGIN_PLUGIN.BTN_FORGOT'|t }}</a>#}
  14. <button type="submit" class="button primary" name="task" value="login.login"><i class="fa fa-sign-in"></i> {{ 'LOGIN_PLUGIN.BTN_LOGIN'|t }}</button>
  15. </div>
  16. </form>
  17. </section>