@if(session()->has('faq_created')) @endif @include('includes.form_errors') {!! Form::open(['method'=>'post', 'action'=>'ManageFaqsController@store', 'files'=>true, 'onsubmit'=>'submit_button.disabled = true; submit_button.value = "' . __('Please Wait...') . '"; return true;']) !!}
{!! Form::label('question', __('Question/Category:')) !!} {!! Form::text('question', null, ['class'=>'form-control', 'placeholder'=>__('Enter Question'), '']) !!}
{!! Form::label('answer', __('Answer:')) !!} {!! Form::textarea('answer', '', ['class'=>'form-control', 'placeholder'=>__('Enter Answer')]) !!}
{!! Form::label('is_active', __('Status:')) !!} {!! Form::select('is_active', [0=>__('inactive'), 1=>__('active')], 1, ['class'=>'form-control selectpicker', 'data-style'=>'btn-default']) !!}
{!! Form::submit(__('Add Faq'), ['class'=>'btn btn-primary btn-block', 'name'=>'submit_button']) !!}
{!! Form::close() !!}