@extends('layouts.master') @section('title', 'PetroERP- An ERP for Petrol Pumps') @section('content') FAQ Manage FAQ Edit FAQ Questions Active List Deactive List Create {!! Form::open(['action' => ['FAQController@update', $faqs->id], 'method' => 'POST', 'class' => 'form-horizontal', 'data-parsley-validate', 'data-parsley-trigger' =>'blur']) !!} {{Form::label('usertypeId', 'User Module', ['class'=>'required col-md-2'])}} {{Form::select('moduleId', $userTypes, $faqs->type_id, ['placeholder' => 'Pick a Module...', 'id'=>'usertypeId', 'readonly','required'])}} {{Form::label('question', 'Question', ['class'=>'required col-md-2'])}} {{$faqs->question}} {{Form::label('answer', 'Answer', ['class'=>'col-md-2'])}} {{$faqs->answer}} {{Form::label('remark', 'Remark', ['class'=>'col-md-2'])}} {{$faqs->remark}} {{Form::hidden('_method', 'PUT')}} {{ Form::button(' Save Changes', ['class' => 'btn btn-primary', 'type' => 'submit']) }} {!! Form::close() !!} @endsection