@extends('adminlte::layouts.app') @section('htmlheader_title') {{ trans('Faq Question Update') }} @endsection @section('contentheader_title') Update Faq Question @endsection @section('main-content')
@foreach ($errors->all() as $error)

{{ $error }}

@endforeach
{!! Form::open(array('url' => ('admin/faq/store'),'method'=>'post', 'files'=>true)) !!}
{!! Form::textarea('question',$question->question,['class'=>'form-control suspension', 'rows' => 3, 'cols' => 40,'placeholder'=>'Enter question']) !!}
{!! Form::textarea('answer',$question->ans,['class'=>'form-control suspension', 'rows' => 3, 'cols' => 40,'placeholder'=>'Enter answer']) !!}
@if ($question->status == 1) {!! Form::radio('status', '1',['checked' => 'checked'],['class' => 'minimal']) !!} Active {!! Form::radio('status', '0','',['class' => 'minimal']) !!} InActive @else {!! Form::radio('status', '1','',['class' => 'minimal']) !!} Active {!! Form::radio('status', '0',['checked' => 'checked'],['class' => 'minimal']) !!} InActive @endif
{!! Form::close() !!}
@endsection