26 lines
931 B
Twig
26 lines
931 B
Twig
|
{% 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 %}
|
||
|
{% embed 'forms/default/fields.html.twig' with {name: null, fields: form.fields} %}
|
||
|
{% block inner_markup_field_open %}<div>{% endblock %}
|
||
|
{% block inner_markup_field_close %}</div>{% endblock %}
|
||
|
{% endembed %}
|
||
|
|
||
|
<div class="form-actions primary-accent">
|
||
|
<a class="button secondary" href="{{ admin_route('/forgot') }}"><i class="fa fa-exclamation-circle"></i> {{ 'PLUGIN_ADMIN.LOGIN_BTN_FORGOT'|t }}</a>
|
||
|
<button type="submit" class="button primary" name="task" value="login"><i class="fa fa-sign-in"></i> {{ 'PLUGIN_ADMIN.LOGIN_BTN'|t }}</button>
|
||
|
</div>
|
||
|
|
||
|
{% endblock %}
|
||
|
|
||
|
{% endembed %}
|