%PDF- %PDF-
Direktori : /www/loslex/test/resources/views/livewire/ |
Current File : //www/loslex/test/resources/views/livewire/modal-user-edit.blade.php |
<div class="w-full" wire:key="edituser-{{ $user->id }}"> <div class="mb-2"> <div class="inline"> <div class="inline mr-5"><span class="mr-1 fa-solid fa-id-badge" title="{{ __('DB id') }}"></span>{{ $user->id}}</div> </div> <button wire:click="$dispatch('closeModal')" class="text-base float-right" title="{{ __('Close dialog') }}"><span class="fa-solid fa-circle-xmark text-red-500"></button> </div> <form class="space-y-2" wire:submit="save"> <div class="grid grid-cols-2 md:grid-cols-[minmax(0,2fr)_minmax(0,2fr)_minmax(0,1fr)_] gap-x-2"> <div> <x-input-label class="inline" for="firstname" :value="__('First name')" /><span title="{{ __('Required') }}" class="inline ml-1 fa-solid fa-asterisk text-red-400 text-xs"></span> <x-text-input id="firstname" name="firstname" type="text" class="mt-1 block w-full" wire:model="firstname" autocomplete="on" /> </div> <div> <x-input-label class="inline" for="lastname" :value="__('Lastname')" /><span title="{{ __('Required') }}" class="inline ml-1 fa-solid fa-asterisk text-red-400 text-xs"></span> <x-text-input id="lastname" name="lastname" type="text" class="mt-1 block w-full" wire:model="lastname" autocomplete="on" /> </div> <div class="col-span-2 md:col-span-1 truncate"> <x-input-label class="inline" for="namesuffix" :value="__('Name suffix')" /> <x-text-input id="namesuffix" name="namesuffix" type="text" class="mt-1 block w-full" wire:model="namesuffix" autocomplete="off" /> </div> </div> <div> <x-input-label class="inline" for="username" :value="__('Username')" /><span title="{{ __('Required') }}" class="inline ml-1 fa-solid fa-asterisk text-red-400 text-xs"></span> <x-text-input id="username" name="username" type="text" class="mt-1 block w-full" wire:model="username" /> </div> <div> <x-input-label class="inline" for="email" :value="__('Email')" /><span title="{{ __('Required') }}" class="inline ml-1 fa-solid fa-asterisk text-red-400 text-xs"></span> <x-text-input id="email" name="email" type="email" class="mt-1 block w-full" wire:model="email" autocomplete="on" /> </div> <div class="grid grid-cols-1 md:grid-cols-2 gap-x-2"> <div> <x-input-label for="city" :value="__('City')" /> <x-text-input id="city" name="city" type="text" class="mt-1 block w-full" wire:model="city" autocomplete="on" /> </div> <div> <x-input-label for="phone_number" :value="__('Phone number')" /> <x-text-input id="phone_number" name="phone_number" type="text" class="mt-1 block w-full" wire:model="phone_number" autocomplete="on" /> </div> </div> <div> <x-input-label for="licence_number" :value="__('Licence number')" /> <x-text-input id="licence_number" name="licence_number" type="text" class="mt-1 block w-full" wire:model="licence_number" autocomplete="on" /> <div class="text-xs italic mt-1">{!! __('tooltips.licencenumbershort') !!}</div> </div> <div> <x-input-label class="inline" for="lex_hash" :value="__('LEX membership control code')" /> <x-text-input id="lex_hash" name="lex_hash" type="text" class="mt-1 block w-full" wire:model="lex_hash" autocomplete="on" /> </div> <fieldset class="grid grid-cols-fitfirst gap-x-2 px-4 py-2 border border-gray-300 dark:border-gray-700 rounded-md"> <legend class="px-2 text-sm font-medium">{{ __('BAN user') }}</legend> <x-text-input id="ban" name="ban" type="checkbox" class="block w-10 h-10 mt-1" wire:model="ban" /> <div> <x-text-input id="ban_reason" name="ban_reason" type="text" class="mt-1 block w-full" wire:model="ban_reason" /> <div class="text-xs italic mt-1">{!! __('tooltips.banreason') !!}</div> </div> </fieldset> <div><x-input-error class="mt-4" :messages="$errors->all()" /></div> <div class="pt-4 flex justify-center"> <x-primary-button >{{ __('Save') }}</x-primary-button> </div> </form> </div>