@extends('user.layout') @php $userLanguages = \App\Models\User\Language::where('user_id',\Illuminate\Support\Facades\Auth::id())->get(); $userDefaultLang = \App\Models\User\Language::where([ ['user_id',\Illuminate\Support\Facades\Auth::id()], ['is_default',1] ])->first(); @endphp @includeIf('user.partials.rtl-style') @section('content')
{{ __('Update Why Choose Us Section') }}
@if(!is_null($userDefaultLang)) @if (!empty($userLanguages)) @endif @endif
@csrf
...

@if ($errors->has('why_choose_us_section_title'))

{{ $errors->first('why_choose_us_section_title') }}

@endif
@if ($errors->has('why_choose_us_section_subtitle'))

{{ $errors->first('why_choose_us_section_subtitle') }}

@endif
@if ($errors->has('why_choose_us_section_text'))

{{ $errors->first('why_choose_us_section_text') }}

@endif
@if ($errors->has('why_choose_us_section_button_text'))

{{ $errors->first('why_choose_us_section_button_text') }}

@endif
@if ($errors->has('why_choose_us_section_button_url'))

{{ $errors->first('why_choose_us_section_button_url') }}

@endif
@if($userBs->theme === "home_three")
...
@if ($errors->has('why_choose_us_section_video_image'))

{{ $errors->first('why_choose_us_section_video_image') }}

@endif
@if ($errors->has('why_choose_us_section_video_url'))

{{ $errors->first('why_choose_us_section_video_url') }}

@endif
@endif
@endsection @section('scripts') @endsection