@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') }}
@includeIf('user.partials.languages')
@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 ($userBs->theme != 'home_nine')
@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
@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
{{ __('Add_Why_Choose_Us_Item') }}
@csrf

{{ __('why_chose_us_Icon_text') }}

{{ __('why_choose_us_Serial_Number_text') }}

{{ __('Why_Choose_Us_Items') }}
@if (empty($chooseUsItems))

{{ __('NO_LINK_ADDED') }}

@else
@foreach ($chooseUsItems as $key => $chooseUsItem) @endforeach
# {{ __('Icon') }} {{ __('Title') }} {{ __('Icon') }} {{ __('Serial_No') }} {{ __('Actions') }}
{{ $loop->iteration }} {{ $chooseUsItem->title }} {{ strlen($chooseUsItem->content) > 30 ? mb_substr(strip_tags($chooseUsItem->content), 0, 30, 'UTF-8') . '...' : strip_tags($chooseUsItem->content) }} {{ $chooseUsItem->serial_number }}
@csrf
@endif
@if ($userBs->theme == 'home_one' || $userBs->theme == 'home_three' || $userBs->theme == 'home_nine') @endif @endsection @section('scripts') @endsection