From 77321172a2b7a641a6605582445ec3349b1fc8de Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 2 Jun 2023 13:18:10 +0200 Subject: [PATCH] fix --- resources/views/auth/login.blade.php | 14 +++----------- resources/views/components/forms/button.blade.php | 10 +++++++--- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 26180093a..12515da38 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -20,17 +20,9 @@ @env('local') - {{-- @if (config('mail.default')) - {{ dd('mailer configured') }} - @else - {{ dd('mailer not configured') }} - @endif --}} - - @if (!config('mail.default')) - - {{ __('auth.forgot_password') }}? - - @endif + + {{ __('auth.forgot_password') }}? + @else diff --git a/resources/views/components/forms/button.blade.php b/resources/views/components/forms/button.blade.php index 09f48b959..306f1f1b6 100644 --- a/resources/views/components/forms/button.blade.php +++ b/resources/views/components/forms/button.blade.php @@ -16,7 +16,9 @@ @isset($confirmAction) x-on:{{ explode('(', $confirmAction)[0] }}.window="$wire.{{ explode('(', $confirmAction)[0] }}" @endisset> - + @if ($attributes->whereStartsWith('wire:click')->first()) + + @endif {{ $slot }} @elseif($type === 'button') @@ -27,8 +29,10 @@ @isset($confirmAction) x-on:{{ explode('(', $confirmAction)[0] }}.window="$wire.{{ explode('(', $confirmAction)[0] }}" @endisset> - + @if ($attributes->whereStartsWith('wire:click')->first()) + + @endif {{ $slot }} @endif