@php($lbl_restaurant_name = __('system.fields.restaurant_name'))
@php($lbl_restaurant_type = __('system.fields.restaurant_type'))
@php($lbl_contact_email = __('system.fields.contact_email'))
@php($lbl_phone_number = __('system.fields.phone_number'))
@if (isset($create))
@php($lbl_clone_data_into = __('system.fields.clone_data_into'))
@endif
{{ __('system.fields.address_details') }}
@php($lbl_city = __('system.fields.city'))
{!! Form::text('city', null, [
'class' => 'form-control',
'id' => 'input-city',
'placeholder' => $lbl_city,
'required' => true,
'data-pristine-required-message' => __('validation.required', ['attribute' => strtolower($lbl_city)]),
]) !!}
@error('city')
{{ $message }}
@enderror
@php($lbl_state = __('system.fields.state'))
{!! Form::text('state', null, [
'class' => 'form-control',
'id' => 'input-state',
'placeholder' => $lbl_state,
'required' => true,
'data-pristine-required-message' => __('validation.required', ['attribute' => strtolower($lbl_state)]),
]) !!}
@error('state')
{{ $message }}
@enderror
@php($lbl_country = __('system.fields.country'))
{!! Form::text('country', null, [
'class' => 'form-control',
'id' => 'input-country',
'placeholder' => $lbl_country,
'required' => true,
'data-pristine-required-message' => __('validation.required', ['attribute' => strtolower($lbl_country)]),
]) !!}
@error('country')
{{ $message }}
@enderror
@php($lbl_zip = __('system.fields.zip'))
{!! Form::text('zip', null, [
'class' => 'form-control pristine-custom-pattern',
'id' => 'input-zip',
'placeholder' => $lbl_zip,
'custom-pattern' => "^[0-9a-zA-z]{4,8}$",
'required' => true,
'maxlength' => 8,
'data-pristine-pattern-message' => __('validation.custom.invalid', ['attribute' => strtolower($lbl_zip)]),
'data-pristine-required-message' => __('validation.required', ['attribute' => strtolower($lbl_zip)]),
]) !!}
@error('zip')
{{ $message }}
@enderror
@php($lbl_address = __('system.fields.address'))
{!! Form::textarea('address', null, [
'class' => 'form-control',
'id' => 'input-address',
'placeholder' => $lbl_address,
'minlength' => '5',
'required' => true,
'rows' => 2,
'data-pristine-required-message' => __('validation.required', ['attribute' => strtolower($lbl_address)]),
'data-pristine-minlength-message' => __('validation.custom.invalid', ['attribute' => strtolower($lbl_address)]),
]) !!}
@error('address')
{{ $message }}
@enderror