forked from eatvio/eatvio-infra
52 lines
2.9 KiB
PHP
52 lines
2.9 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.step9_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">
|
|
{{-- @if ($errors->any())
|
|
<div class="text-red-500 alert alert-danger">
|
|
<ul>
|
|
@foreach ($errors->all() as $error)
|
|
<li>{{ $error }}</li>
|
|
@endforeach
|
|
</ul>
|
|
</div>
|
|
@endif --}}
|
|
|
|
<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-center text-gray-900 ms-3">{{ __('reg_form.optional_info') }}</label>
|
|
<div class="@error('additional_info') verror @enderror">
|
|
<textarea wire:model="additional_info" name="additional_info"
|
|
class="block py-1.5 my-3 w-full @error('additional_info') 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 my-3 form-control"
|
|
placeholder="{{ __('reg_form.any_additional_info') }}" style="min-height:140px"></textarea>
|
|
@if ($errors->has('additional_info'))
|
|
<div
|
|
class="flex items-center mt-1 ml-1 text-xs font-medium tracking-wide text-red-500 verror-message">
|
|
{{ $errors->first('additional_info') }}</div>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div>
|
|
<button
|
|
class="p-2 px-5 text-sm font-semibold text-white rounded-md bg-[#019a3e] flex justify-center py-1.5 px-3 mt-5 w-full text-sm font-semibold leading-6 text-white rounded-md shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
|
|
type="button" wire:click="finishRegistration">{{ __('reg_form.complete') }}</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">← {{ __('reg_form.go_back') }}</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|