@extends('backend.layouts.app') @section('title', __('labels.backend.faqs.title').' | '.app_name()) @section('content') {!! Form::open(['method' => 'POST', 'route' => ['admin.faqs.store'], 'files' => true,]) !!}

@lang('labels.backend.faqs.create')

{!! Form::label('category', trans('labels.backend.blogs.fields.category'), ['class' => 'control-label']) !!} {!! Form::select('category', $category, (request('category')) ? request('category') : old('category'), ['class' => 'form-control select2']) !!}
{!! Form::label('question', trans('labels.backend.faqs.fields.question'), ['class' => 'control-label']) !!} {!! Form::text('question', old('question'), ['class' => 'form-control ', 'placeholder' => trans('labels.backend.faqs.fields.question')]) !!}
{!! Form::label('answer', trans('labels.backend.faqs.fields.answer'), ['class' => 'control-label']) !!} {!! Form::textarea('answer', old('answer'), ['class' => 'form-control ', 'placeholder' => trans('labels.backend.faqs.fields.answer')]) !!}
{!! Form::submit(trans('strings.backend.general.app_save'), ['class' => 'btn btn-danger mb-4 form-group']) !!}
{!! Form::close() !!} @stop