From 7cf9da805340c14a16f02da7e8f6b0ce0c866637 Mon Sep 17 00:00:00 2001 From: bernardhanna Date: Wed, 15 Jul 2026 16:00:20 +0100 Subject: [PATCH] edit to online course page --- resources/views/profile.blade.php | 134 +++++++++++++++--------------- 1 file changed, 68 insertions(+), 66 deletions(-) diff --git a/resources/views/profile.blade.php b/resources/views/profile.blade.php index afb92675c..d4b54dcbd 100755 --- a/resources/views/profile.blade.php +++ b/resources/views/profile.blade.php @@ -43,6 +43,73 @@ class="w-full md:w-fit flex justify-center items-center gap-2 text-white border-

Your details

+ +
+
+ + +

+ Used to sign in and receive certificates and activity notifications. +

+
+ @if (session('email_change_status')) +
+ {{ session('email_change_status') }} +
+ @endif + @if ($profileUser->pending_email) +
+

+ Waiting for confirmation at {{ $profileUser->pending_email }}. + Check that inbox for a confirmation link (valid for 48 hours). +

+
+ @csrf + +
+
+ @else +
+ + Change login email + +
+ @csrf +
+ + + @component('components.validation-errors', ['field'=>'new_email'])@endcomponent +
+ @if (empty($profileUser->provider)) +
+ + + @component('components.validation-errors', ['field'=>'current_password'])@endcomponent +
+ @else +

+ We will email your current address to let you know about this change. + You can keep signing in with {{ ucfirst($profileUser->provider) }} after the update. +

+ @endif + +
+
+ @endif +
+
@if ($errors->any())
@@ -84,72 +151,6 @@ class="border-2 border-solid border-dark-blue-200 w-full rounded-full h-12 px-4
-
-
- - -

- Used to sign in and receive certificates and activity notifications. -

-
- @if (session('email_change_status')) -
- {{ session('email_change_status') }} -
- @endif - @if ($profileUser->pending_email) -
-

- Waiting for confirmation at {{ $profileUser->pending_email }}. - Check that inbox for a confirmation link (valid for 48 hours). -

- - @csrf - - -
- @else -
- - Change login email - -
- @csrf -
- - - @component('components.validation-errors', ['field'=>'new_email'])@endcomponent -
- @if (empty($profileUser->provider)) -
- - - @component('components.validation-errors', ['field'=>'current_password'])@endcomponent -
- @else -

- We will email your current address to let you know about this change. - You can keep signing in with {{ ucfirst($profileUser->provider) }} after the update. -

- @endif - -
-
- @endif -
-
@@ -305,6 +306,7 @@ class="w-8 h-8 text-slate-600 border-2 border-dark-blue-200" name="privacy" value="agreed" class="w-8 h-8 text-slate-600 border-2 border-dark-blue-200 rounded" + {{ $profileUser->privacy ? 'checked' : '' }} >