From 8218d270adbbb9f4fae1361918a5a72bbf79c57a Mon Sep 17 00:00:00 2001 From: Conner Harkness Date: Sat, 28 Jun 2025 07:04:14 -0600 Subject: [PATCH] Fixed signin and register buttons --- lib/BootstrapRender.php | 53 ++--------------------------------------- pages/user/register.php | 18 +++++++------- pages/user/signin.php | 19 +++++++++++---- 3 files changed, 25 insertions(+), 65 deletions(-) diff --git a/lib/BootstrapRender.php b/lib/BootstrapRender.php index 96270ae..100b4e5 100644 --- a/lib/BootstrapRender.php +++ b/lib/BootstrapRender.php @@ -127,62 +127,13 @@ { ?>
- +
+
- - - 0): ?> -
- -
"> - - - - - < - class="btn btn- " - - - > - - - - - - - > - - -
-
- "password", ]); ?> -
- -
- -
-
+ "button", + "icon" => "right-to-bracket", + "label" => "Continue", + "type" => "submit", + "class" => "outline-primary" + ] + ]); ?>
Already have an account? diff --git a/pages/user/signin.php b/pages/user/signin.php index 2fad6a2..d91c14e 100644 --- a/pages/user/signin.php +++ b/pages/user/signin.php @@ -72,11 +72,20 @@ ]); ?> 0, - "buttons" => [ - ["icon" => "right-to-bracket", "label" => "Continue", "type" => "submit", "class" => "outline-primary"], - ["icon" => "home", "label" => "Home", "href" => "/"] - ]]); ?> + [ + "tag" => "button", + "icon" => "right-to-bracket", + "label" => "Continue", + "type" => "submit", + "class" => "outline-primary" + ], + [ + "icon" => "home", + "label" => "Home", + "href" => "/", + "class" => "outline-secondary" + ] + ]); ?>