wiki-grav/plugins/admin/themes/grav/templates/partials/register.html.twig
2022-04-24 14:32:58 +02:00

25 lines
828 B
Twig

{% extends 'partials/base.html.twig' %}
{% set scope = form.scope %}
{% set field_layout = 'admin' %}
{% block body %}
<body id="admin-login-wrapper">
<section id="admin-login" class="default-glow-shadow {{ classes }}">
{% include 'partials/login-logo.html.twig' %}
{% include 'partials/messages.html.twig' %}
{% block instructions %}{% endblock %}
<form method="post" action="">
<div class="padding">
{% block form %}{% endblock %}
{% include "forms/fields/formname/formname.html.twig" %}
{% include 'forms/fields/uniqueid/uniqueid.html.twig' %}
{{ nonce_field(form.getNonceAction() ?? 'form', form.getNonceName() ?? 'form-nonce')|raw }}
</div>
</form>
</section>
</body>
{% endblock %}