Files
eatvio-infra/resources/views/livewire/registration/step8.blade.php
2024-01-24 11:21:57 +03:00

57 lines
3.5 KiB
PHP

@section('title', __('reg_form.title_' . $step))
<div class="flex flex-col justify-center py-12 px-6 min-h-full lg:px-8">
<div class="sm:mx-auto sm:w-full sm:max-w-sm modal-header">
<h5
class="mt-10 text-2xl font-bold tracking-tight leading-9 text-center text-gray-900 modal-title --medium_title">
{{ __('reg_form.step8_head') }}
</h5>
</div>
<div step-item
class="p-6 mt-8 rounded-3xl ring-1 shadow-lg sm:mx-auto sm:w-full sm:max-w-sm md:max-w-md lg:max-w-lg xl:max-w-xl 2xl:max-w-2xl modal-body ring-gray-900/5">
<div class="grid grid-cols-1 gap-x-6 gap-y-8 mt-4 mt-5 sm:grid-cols-6 row">
<div class="sm:col-span-6">
<label class="block my-3 text-sm font-medium leading-6 text-gray-900 ms-3">
{{ __('reg_form.favorite_foods_q') }}
</label>
<div class="@error('favorite_foods') verror @enderror">
<textarea wire:model="favorite_foods" name="favorite_foods"
class="block py-1.5 my-3 w-full @error('favorite_foods') ring-red-500 @enderror text-gray-900 rounded-md border-0 ring-1 ring-inset ring-gray-300 shadow-sm sm:text-sm sm:leading-6 focus:ring-2 focus:ring-inset focus:ring-blue-600 form-control placeholder:text-gray-400"
placeholder="{{ __('reg_form.favorite_foods') }}" style="min-height:140px"></textarea>
@if ($errors->has('favorite_foods'))
<div
class="flex items-center mt-1 ml-1 text-xs font-medium tracking-wide text-red-500 verror-message">
{{ $errors->first('favorite_foods') }}</div>
@endif
</div>
<div class="@error('unfavorite_foods') verror @enderror">
<textarea wire:model="unfavorite_foods" name="unfavorite_foods"
class="block py-1.5 my-3 w-full @error('unfavorite_foods') ring-red-500 @enderror text-gray-900 rounded-md border-0 ring-1 ring-inset ring-gray-300 shadow-sm sm:text-sm sm:leading-6 focus:ring-2 focus:ring-inset focus:ring-blue-600 form-control placeholder:text-gray-400"
placeholder="{{ __('reg_form.unfavorite_foods') }}" style="min-height:140px"></textarea>
@if ($errors->has('unfavorite_foods'))
<div
class="flex items-center mt-1 ml-1 text-xs font-medium tracking-wide text-red-500 verror-message">
{{ $errors->first('unfavorite_foods') }}</div>
@endif
</div>
</div>
</div>
<div>
<button class="registration-btn-primary" type="button"
wire:click="nextStep">{{ __('reg_form.continue') }}</button>
<div class="grid grid-cols-1 gap-x-6 gap-y-8 mt-4 mt-5 sm:grid-cols-6">
<button wire:click="goBack"
class="p-2 px-5 text-sm font-semibold text-white rounded-md sm:col-span-3 bg-slate-400">
<span class="--f_grey">&larr; {{ __('reg_form.go_back') }}</span>
</button>
<button wire:click="skipStep"
class="p-2 px-5 text-sm font-semibold text-white rounded-md sm:col-span-3 bg-slate-400">
<span class="--f_grey">{{ __('reg_form.skip') }} &rarr;</span>
</button>
</div>
</div>
</div>
</div>