Skip to content

Commit 1683b35

Browse files
committed
Update formatting
1 parent 7b732f8 commit 1683b35

File tree

5 files changed

+13
-11
lines changed

5 files changed

+13
-11
lines changed

resources/helpers.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
if (! function_exists('active')) {
44
/**
55
* Sets the menu item class for an active route.
6-
*
7-
* @param mixed $routes
86
*/
97
function active($routes, bool $condition = true): string
108
{
@@ -15,8 +13,6 @@ function active($routes, bool $condition = true): string
1513
if (! function_exists('is_active')) {
1614
/**
1715
* Determines if the given routes are active.
18-
*
19-
* @param mixed $routes
2016
*/
2117
function is_active($routes): string
2218
{
@@ -37,8 +33,6 @@ function md_to_html(string $markdown): string
3733
if (! function_exists('route_to_reply_able')) {
3834
/**
3935
* Returns the route for the replyAble.
40-
*
41-
* @param mixed $replyAble
4236
*/
4337
function route_to_reply_able($replyAble): string
4438
{

resources/views/users/settings/profile.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
<div class="col-span-12">
4343
<x-label for="email" />
4444
<x-email name="email" value="{{ Auth::user()->emailAddress() }}" required />
45+
4546
@unless(Auth::user()->hasVerifiedEmail())
4647
<span class="mt-2 text-sm text-gray-500">
4748
This email address is not verified yet.

resources/views/users/settings/remove.blade.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
<div class="bg-white py-6 px-4 space-y-6 sm:p-6">
55
<div>
66
<h2 id="remove_account_heading" class="text-lg leading-6 font-medium text-red-500 uppercase">Danger Zone</h2>
7-
<p class="mt-1 text-sm leading-5 text-gray-500">Please be aware that deleting your account will also remove all of your data, including your threads and replies. This cannot be undone.</p>
7+
<p class="mt-1 text-sm leading-5 text-gray-500">
8+
Please be aware that deleting your account will also remove all of your data, including your threads and replies. This cannot be undone.
9+
</p>
810
</div>
911
</div>
1012
<div class="px-4 py-3 bg-gray-50 text-right sm:px-6">

resources/views/vendor/blade-ui-kit/components/forms/inputs/input.blade.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,24 @@
55
@svg($attributes->get('prefix-icon'), ['class' => 'h-5 w-5 text-gray-400'])
66
</div>
77
@endif
8+
89
<input
910
name="{{ $name }}"
1011
type="{{ $type }}"
1112
id="{{ $id }}"
12-
@if($value)value="{{ $value }}"@endif
13+
@if ($value)value="{{ $value }}"@endif
1314
{{ $attributes->merge([
1415
'class' => 'form-input block w-full sm:text-sm sm:leading-5 mt-1' . ($attributes->get('prefix-icon') ? ' pl-10' : '') . ($errors->has($name) ? ' border-red-300 text-red-900 placeholder-red-300 focus:outline-none focus:ring-red-500 focus:border-red-500' : '')
1516
]) }}
1617
/>
18+
1719
@if ($errors->has($name))
1820
<div class="absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none">
1921
<x-heroicon-o-exclamation-circle class="h-5 w-5 text-red-500" />
2022
</div>
2123
@endif
2224
</div>
25+
2326
@if ($errors->has($name))
2427
@foreach ($errors->get($name) as $error)
2528
<p class="mt-2 text-sm text-red-600">{{ $error }}</p>

resources/views/vendor/blade-ui-kit/components/forms/inputs/textarea.blade.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@
55
rows="{{ $rows }}"
66
{{ $attributes->merge([
77
'class' => 'form-textarea block w-full transition duration-150 ease-in-out sm:text-sm sm:leading-5' . ($errors->has($name) ? ' border-red-300 text-red-900 placeholder-red-300 focus:outline-none focus:ring-red-500 focus:border-red-500' : '')
8-
]) }}"
8+
]) }}
99
>{{ old($name, $slot) }}</textarea>
10-
@if($errors->has($name))
10+
11+
@if ($errors->has($name))
1112
<div class="absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none">
1213
<x-heroicon-o-exclamation-circle class="h-5 w-5 text-red-500" />
1314
</div>
1415
@endif
15-
@if($errors->has($name))
16+
17+
@if ($errors->has($name))
1618
@foreach ($errors->get($name) as $error)
1719
<p class="mt-2 text-sm text-red-600">{{ $error }}</p>
1820
@endforeach

0 commit comments

Comments
 (0)