@extends('layouts.admin') @section('page-title') {{ __('Landing Page') }} @endsection @section('breadcrumb') @endsection @php $settings = \Modules\LandingPage\Entities\LandingPageSetting::settings(); $logo = \App\Models\Utility::get_file('uploads/landing_page_image'); @endphp @push('script-page') @endpush @section('links') @endsection @section('content')
@include('landingpage::layouts.tab')
{{-- Start for all settings tab --}}
{{ Form::open(['route' => 'faq.store', 'method' => 'post', 'enctype' => 'multipart/form-data', 'class' => 'needs-validation', 'novalidate']) }} @csrf
{{ __('FAQ') }}
{{ Form::label('Title', __('Title'), ['class' => 'form-label']) }} {{ Form::text('faq_title', $settings['faq_title'], ['class' => 'form-control ', 'placeholder' => __('Enter Title')]) }} @error('mail_host') {{ $message }} @enderror
{{ Form::label('Heading', __('Heading'), ['class' => 'form-label']) }} {{ Form::text('faq_heading', $settings['faq_heading'], ['class' => 'form-control ', 'placeholder' => __('Enter Heading')]) }} @error('mail_host') {{ $message }} @enderror
{{ Form::label('Description', __('Description'), ['class' => 'form-label']) }} {{ Form::text('faq_description', $settings['faq_description'], ['class' => 'form-control', 'placeholder' => __('Enter Description')]) }} @error('mail_port') {{ $message }} @enderror
{{ Form::close() }}
{{--
{{ __('Menu Bar') }}
--}}
{{ __('FAQ List') }}
{{-- --}}
@if (is_array($faqs) || is_object($faqs)) @php $no = 1; @endphp @foreach ($faqs as $key => $value) @endforeach @endif
{{ __('No') }} {{ __('Name') }} {{ __('Action') }}
{{ $no++ }} {{ $value['faq_questions'] }}
{!! Form::open(['method' => 'GET', 'route' => ['faq_delete', $key], 'id' => 'delete-form-' . $key]) !!} {!! Form::close() !!}
{{-- End for all settings tab --}}
@endsection