{% embed 'partials/login.html.twig' with {title: 'Grav Admin Login'} %} {% block integration %} {# NEW WAY OF INCLUDING 3RD PARTY LOGIN OPTIONS #} {% for template in grav.login.getProviderLoginTemplates %} {% include template %} {% endfor %} {% endblock %} {% block form %} {% set form = forms['login'] %} {% for field in form.fields %} {% set value = field.name == 'username' ? username : '' %} {% if field.type %}