From 2a0a93fcbaa02eec36e0ce23d0f19f8ba8587bd1 Mon Sep 17 00:00:00 2001 From: Ne-wt Date: Mon, 11 Dec 2023 20:11:26 +0000 Subject: [PATCH] refactor: fix blade formatting --- resources/views/account/settings.blade.php | 35 +++++++++++----------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/resources/views/account/settings.blade.php b/resources/views/account/settings.blade.php index 3252b886c1..9cf49cdc3a 100644 --- a/resources/views/account/settings.blade.php +++ b/resources/views/account/settings.blade.php @@ -17,15 +17,15 @@ @endif {!! Form::open(['url' => 'account/avatar', 'files' => true]) !!} -
- {!! Form::label('avatar', 'Update Profile Image', ['class' => 'col-md-2 col-form-label']) !!} -
- {!! Form::file('avatar', ['class' => 'form-control']) !!} -
-
-
- {!! Form::submit('Edit', ['class' => 'btn btn-primary']) !!} +
+ {!! Form::label('avatar', 'Update Profile Image', ['class' => 'col-md-2 col-form-label']) !!} +
+ {!! Form::file('avatar', ['class' => 'form-control']) !!}
+
+
+ {!! Form::submit('Edit', ['class' => 'btn btn-primary']) !!} +
{!! Form::close() !!}
@@ -40,21 +40,22 @@ You last changed your username on {{ Auth::user()->logs()->where('type', 'Username Change')->orderBy('created_at', 'desc')->first()->created_at->format('F jS, Y') }}.
- You will be able to change your username again on {{ Auth::user()->logs()->where('type', 'Username Change')->orderBy('created_at', 'desc')->first()->created_at->addDays(config('lorekeeper.settings.username_change_cooldown'))->format('F jS, Y') }}. + You will be able to change your username again on + {{ Auth::user()->logs()->where('type', 'Username Change')->orderBy('created_at', 'desc')->first()->created_at->addDays(config('lorekeeper.settings.username_change_cooldown'))->format('F jS, Y') }}. @endif @endif {!! Form::open(['url' => 'account/username']) !!} -
- -
- {!! Form::text('username', Auth::user()->name, ['class' => 'form-control']) !!} -
-
-
- {!! Form::submit('Edit', ['class' => 'btn btn-primary']) !!} +
+ +
+ {!! Form::text('username', Auth::user()->name, ['class' => 'form-control']) !!}
+
+
+ {!! Form::submit('Edit', ['class' => 'btn btn-primary']) !!} +
{!! Form::close() !!}