@if(session()->has('error'))
@endif
@if(in_array("Add",$knowledgeBase ))
{!! Form::open(array('url' =>'admin/add-new-knowledge', 'method'=>'post', 'class' => 'form-horizontal', 'id'=>'addnewuser', 'enctype'=>'multipart/form-data')) !!}
{!! Form::close() !!}
@else
{{ trans('labels.WarningLabel') }}
{{ session()->get('error') }}
{!! Form::text('question', '', array('class'=>'form-control', 'id'=>'question', 'required'=>'required')) !!}
{!! Form::textarea('answer', '', array('class'=>'form-control answer', 'id'=>'answer', 'required'=>'required', 'rows'=>'4')) !!}
{!! Form::file('newImage', array('id'=>'newImage')) !!}
{!! Form::file('file', array('id'=>'file')) !!}
{!! Form::file('video', array('id'=>'video')) !!}
{!! Form::text('youtubelink', '', array('class'=>'form-control', 'id'=>'youtubelink')) !!}
i.e A4GgHIojooo
Please contact with SuperAdmin
@endif