@extends('admin.template.master') @section('stylesheets') {!! Html::style('assets/admin/bower_components/select2/dist/css/select2.min.css') !!} @endsection @section('title')

FAQ Assignment

@endsection @section('main-content')
@if(Session::has('error-message'))
{{Session('error-message')}}
@endif

Entry

@foreach($faqs as $faq) @endforeach
# Question
{{ $faq->question }}

{!! Form::open(['url' => '/admin/faq/assignments']) !!}
{!! Form::label('item_type_id', 'Item Types') !!} {!! Form::select('item_type_id', $itemTypes, null, ['class' => 'form-control', 'placeholder' => 'Select item type', 'id' => 'item_type_id']) !!}
{!! Form::label('brand_id', 'Brands') !!} {!! Form::select('brand_id', $brands, null, ['class' => 'form-control', 'placeholder' => 'Select brand', 'id' => 'brand_id']) !!}
{!! Form::label('product_inv_code', 'INV Code') !!} {!! Form::text('product_inv_code', null, ['class' => 'form-control', 'placeholder' => 'Enter INV code']) !!}
# Question
{!! Form::submit('Update',['class' => 'btn btn-warning']) !!} {!! Form::close() !!}
@endsection @section('javascripts') {!! Html::script('assets/admin/bower_components/select2/dist/js/select2.full.min.js') !!} @endsection