@if(session()->has('faq_updated')) @endif @include('includes.form_errors') {!! Form::model($faq, ['method'=>'patch', 'action'=>['ManageFaqsController@update', $faq->id], 'files'=>true, 'onsubmit'=>'submit_button.disabled = true; submit_button.value = "' . __('Please Wait...') . '"; return true;']) !!}
{!! Form::label('question', __('Question/Category:')) !!} {!! Form::text('question', $faq->question, ['class'=>'form-control', 'placeholder'=>__('Enter question'), ''])!!}
{!! Form::label('answer', __('Answer:')) !!} {!! Form::textarea('answer', $faq->answer, ['class'=>'form-control', 'placeholder'=>__('Enter Answer')]) !!}
{!! Form::label('is_active', __('Status:')) !!} {!! Form::select('is_active', [0=>__('inactive'), 1=>__('active')], $faq->is_active, ['class'=>'form-control selectpicker', 'data-style'=>'btn-default']) !!}
{!! Form::submit(__('Update'), ['class'=>'btn btn-primary col-xs-6 col-sm-6 pull-left', 'name'=>'submit_button']) !!}
{!! Form::close() !!}