@extends('backend.layouts.app') @section('title', __('labels.backend.faqs.title').' | '.app_name()) @section('content') {!! Form::model($faq, ['method' => 'PUT', 'route' => ['admin.faqs.update', $faq->id], 'files' => true,]) !!}

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

{!! Form::label('category', trans('labels.backend.blogs.fields.category'), ['class' => 'control-label']) !!} {!! Form::select('category', $category, $faq->category_id, ['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_update'), ['class' => 'btn btn-danger']) !!}
{!! Form::close() !!} @stop