2020-09-24 13:44:56 +02:00
|
|
|
<div class="mt-10 sm:mt-6">
|
|
|
|
<div class="md:grid md:grid-cols-3 md:gap-6">
|
|
|
|
<div class="md:col-span-1">
|
|
|
|
<div class="sm:px-0">
|
|
|
|
<h3 class="text-lg font-medium leading-6 text-gray-900">{{ ctrans('texts.name_website_logo') }}</h3>
|
|
|
|
</div>
|
|
|
|
</div> <!-- End of left side -->
|
|
|
|
|
|
|
|
<div class="mt-5 md:mt-0 md:col-span-2">
|
|
|
|
<form wire:submit.prevent="submit" method="POST" id="update_contact">
|
|
|
|
@csrf
|
|
|
|
<div class="shadow overflow-hidden rounded">
|
|
|
|
<div class="px-4 py-5 bg-white sm:p-6">
|
|
|
|
<div class="grid grid-cols-6 gap-6">
|
|
|
|
<div class="col-span-6 sm:col-span-3">
|
|
|
|
<label for="street" class="input-label">{{ ctrans('texts.name') }}</label>
|
2020-11-25 14:38:49 +01:00
|
|
|
<input id="name" class="input w-full {{ in_array('name', (array) session('missing_required_fields')) ? 'border border-red-400' : '' }}" name="name" wire:model.defer="name" />
|
2020-09-24 13:44:56 +02:00
|
|
|
@error('name')
|
|
|
|
<div class="validation validation-fail">
|
|
|
|
{{ $message }}
|
|
|
|
</div>
|
2020-11-27 12:08:39 +01:00
|
|
|
@enderror
|
|
|
|
</div>
|
|
|
|
<div class="col-span-6 sm:col-span-3">
|
|
|
|
<label for="street" class="input-label">{{ ctrans('texts.phone') }}</label>
|
|
|
|
<input id="phone" class="input w-full {{ in_array('phone', (array) session('missing_required_fields')) ? 'border border-red-400' : '' }}" name="phone" wire:model.defer="phone" />
|
|
|
|
@error('phone')
|
|
|
|
<div class="validation validation-fail">
|
|
|
|
{{ $message }}
|
|
|
|
</div>
|
2020-09-24 13:44:56 +02:00
|
|
|
@enderror
|
|
|
|
</div>
|
|
|
|
<div class="col-span-6 sm:col-span-3">
|
|
|
|
<label for="website" class="input-label">{{ ctrans('texts.website') }}</label>
|
|
|
|
<input id="website" class="input w-full" name="website" wire:model.defer="website" />
|
|
|
|
@error('website')
|
|
|
|
<div class="validation validation-fail">
|
|
|
|
{{ $message }}
|
|
|
|
</div>
|
|
|
|
@enderror
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="px-4 py-3 bg-gray-50 text-right sm:px-6">
|
2020-09-30 13:31:15 +02:00
|
|
|
<button class="button button-primary bg-primary">{{ $saved }}</button>
|
2020-09-24 13:44:56 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div> <!-- End of right side -->
|
|
|
|
</div>
|
|
|
|
</div>
|