From 2d62fcac06cec239605823e3695ab95565f2b215 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 5 Jun 2022 14:05:02 +0200 Subject: [PATCH] Fix final modals. --- resources/views/auth/passwords/email.twig | 102 +++++++++------- resources/views/auth/passwords/reset.twig | 122 ++++++++++++------- resources/views/auth/register.twig | 116 ++++++++++++------ resources/views/partials/password-modal.twig | 8 +- 4 files changed, 221 insertions(+), 127 deletions(-) diff --git a/resources/views/auth/passwords/email.twig b/resources/views/auth/passwords/email.twig index cbfdb62597..05638d6316 100644 --- a/resources/views/auth/passwords/email.twig +++ b/resources/views/auth/passwords/email.twig @@ -1,53 +1,67 @@ -{% extends "./layout/guest" %} +{% extends "./layout/v3/session" %} {% block content %} +
- - {% if session.status %} -
- {{ session.status }} + - {% endif %} - {% if errors|length > 0 %} -
- {{ 'flash_error'|_ }} {{ 'problems_with_input'|_ }}

-
    - {% for error in errors.all %} -
  • {{ error }}
  • - {% endfor %} -
-
- {% endif %} - - {% endblock %} diff --git a/resources/views/auth/passwords/reset.twig b/resources/views/auth/passwords/reset.twig index 50f3ee56fc..4f944a5dc9 100644 --- a/resources/views/auth/passwords/reset.twig +++ b/resources/views/auth/passwords/reset.twig @@ -1,49 +1,89 @@ -{% extends "./layout/guest" %} - +{% extends "./layout/v3/session" %} {% block content %} - {% if errors|length > 0 %} -
- {{ 'flash_error'|_ }} {{ 'problems_with_input'|_ }}

-
    - {% for error in errors.all %} -
  • {{ error }}
  • - {% endfor %} -
+