Scrollreveal+cat+datenews
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
{% set client_side_validation = form.client_side_validation is not null ? form.client_side_validation : config.plugins.form.client_side_validation|default(true) %}
|
||||
{% set inline_errors = form.inline_errors is not null ? form.inline_errors : config.plugins.form.inline_errors(false) %}
|
||||
|
||||
<section id="grav-login">
|
||||
{{ content|raw }}
|
||||
|
||||
|
||||
Executable → Regular
+5
-2
@@ -1,3 +1,6 @@
|
||||
{% set client_side_validation = form.client_side_validation is not null ? form.client_side_validation : config.plugins.form.client_side_validation|default(true) %}
|
||||
{% set inline_errors = form.inline_errors is not null ? form.inline_errors : config.plugins.form.inline_errors(false) %}
|
||||
|
||||
<section id="grav-login">
|
||||
|
||||
{% if page.template == 'login' or show_login_form %}
|
||||
@@ -18,7 +21,7 @@
|
||||
{% include template %}
|
||||
{% endfor %}
|
||||
|
||||
<form method="post" action="{{ (base_url_relative ~ uri.path)|e }}" class="{{ form_outer_classes }}">
|
||||
<form method="post" action="{{ (base_url_relative ~ uri.path)|e }}" class="{{ form_outer_classes }}">
|
||||
|
||||
{# OLD WAY OF INCLUDING 3RD PARTY LOGIN OPTIONS #}
|
||||
{% if grav.twig.plugins_hooked_loginPage %}
|
||||
@@ -58,4 +61,4 @@
|
||||
|
||||
{% endif %}
|
||||
|
||||
</section>
|
||||
</section>
|
||||
|
||||
Executable → Regular
@@ -1,4 +1,6 @@
|
||||
{% set form = forms('login-twofa') %}
|
||||
{% set client_side_validation = form.client_side_validation is not null ? form.client_side_validation : config.plugins.form.client_side_validation|default(true) %}
|
||||
{% set inline_errors = form.inline_errors is not null ? form.inline_errors : config.plugins.form.inline_errors(false) %}
|
||||
|
||||
<form method="post" action="{{ (base_url_relative ~ uri.path)|e }}" class="{{ form_outer_classes }}">
|
||||
{% for field in form.fields %}
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
{% if uri.param('token') and uri.param('task') %}
|
||||
{% set client_side_validation = form.client_side_validation is not null ? form.client_side_validation : config.plugins.form.client_side_validation|default(true) %}
|
||||
{% set inline_errors = form.inline_errors is not null ? form.inline_errors : config.plugins.form.inline_errors(false) %}
|
||||
|
||||
<section id="grav-login">
|
||||
{{ content|raw }}
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
{% extends 'form.html.twig' %}
|
||||
@@ -0,0 +1 @@
|
||||
{% extends 'default.html.twig' %}
|
||||
Reference in New Issue
Block a user