!auth()->check()

This commit is contained in:
HolgerHatGarKeineNode
2023-03-28 13:25:22 +02:00
parent 885bfeb143
commit 459067cafb

View File

@@ -43,42 +43,44 @@
@error('image') <span class="text-red-500">{{ $message }}</span> @enderror @error('image') <span class="text-red-500">{{ $message }}</span> @enderror
</x-input.group> </x-input.group>
<x-input.group :for="md5('orangePill.amount')" :label="__('Amount')"> @if($image && str($image->getMimeType())->contains(['image/jpeg','image/jpg', 'image/png', 'image/gif', 'image/svg+xml', 'image/webp']))
<x-input <x-input.group :for="md5('orangePill.amount')" :label="__('Amount')">
min="1" <x-input
type="number" min="1"
wire:model.debounce="orangePill.amount" type="number"
label="{{ __('Number of books') }}" wire:model.debounce="orangePill.amount"
placeholder="{{ __('Number of books') }}" label="{{ __('Number of books') }}"
corner-hint="{{ __('How many bitcoin books have you put in?') }}" placeholder="{{ __('Number of books') }}"
/> corner-hint="{{ __('How many bitcoin books have you put in?') }}"
</x-input.group> />
</x-input.group>
<x-input.group :for="md5('orangePill.date')" :label="__('Date')"> <x-input.group :for="md5('orangePill.date')" :label="__('Date')">
<x-datetime-picker <x-datetime-picker
label="{{ __('Date') }}" label="{{ __('Date') }}"
placeholder="{{ __('Date') }}" placeholder="{{ __('Date') }}"
wire:model.defer="orangePill.date" wire:model.defer="orangePill.date"
timezone="UTC" timezone="UTC"
user-timezone="{{ config('app.user-timezone') }}" user-timezone="{{ config('app.user-timezone') }}"
corner-hint="{{ __('When did you put bitcoin books in?') }}" corner-hint="{{ __('When did you put bitcoin books in?') }}"
without-time without-time
display-format="DD.MM.YYYY" display-format="DD.MM.YYYY"
/> />
</x-input.group> </x-input.group>
<x-input.group :for="md5('orangePill.comment')" :label="__('Comment')"> <x-input.group :for="md5('orangePill.comment')" :label="__('Comment')">
<x-textarea wire:model.defer="orangePill.comment" label="{{ __('Comment') }}" <x-textarea wire:model.defer="orangePill.comment" label="{{ __('Comment') }}"
placeholder="{{ __('Comment') }}" placeholder="{{ __('Comment') }}"
corner-hint="{{ __('For example, what books you put in.') }}"/> corner-hint="{{ __('For example, what books you put in.') }}"/>
</x-input.group> </x-input.group>
<x-input.group :for="md5('orangePill.save')" label=""> <x-input.group :for="md5('orangePill.save')" label="">
<x-button primary wire:click="save"> <x-button primary wire:click="save">
<i class="fa fa-thin fa-save"></i> <i class="fa fa-thin fa-save"></i>
{{ __('Save') }} {{ __('Save') }}
</x-button> </x-button>
</x-input.group> </x-input.group>
@endif
</div> </div>
</div> </div>