@extends('layouts.main') @section('title') {{ __('FAQ') }} @endsection @section('page-title')

@yield('title')

@endsection @section('content')
{{-- Create FAQ Section --}}

{{ __('Create FAQ') }}

{!! Form::open(['url' => route('faqs.store'), 'data-parsley-validate', 'class' => 'create-form']) !!}
{{-- Question --}}
{{ Form::label('question', __('Question'), ['class' => 'form-label text-center']) }} {{ Form::textarea('question', '', [ 'class' => 'form-control', 'placeholder' => trans('Question'), 'data-parsley-required' => 'true', 'id' => 'question', 'rows' => 2]) }}
{{-- Answer --}}
{{ Form::label('answer', __('Answer'), ['class' => 'form-label text-center']) }} {{ Form::textarea('answer', '', [ 'class' => 'form-control', 'placeholder' => trans('Answer'), 'data-parsley-required' => 'true', 'id' => 'answer', 'rows' => 2]) }}
{{-- Save --}}
{{ Form::submit('Save', ['class' => 'btn btn-primary me-1 mb-1']) }}
{!! Form::close() !!}
{{ __('ID') }} {{ __('Question') }} {{ __('Answer') }} {{ __('Enable/Disable') }} {{ __('Action') }}
@endsection @section('script') {{-- --}} @endsection