<div class="row">
    <div class="col-md-6 col-md-offset-3">
	    <div class="form-group {{ $errors->has('state_id') ? ' has-error' : '' }}">
            <label class="control-label">State <span class="text-danger">*</span></label>
            {!! Form::select('state_id',App\Model\State::all()->pluck('name','id')->toArray() ,null, ['class' => 'form-control js-example-basic-multiple']) !!}
            <span class="help-block" id="error_category_id"><strong>{{ $errors->first('state_id') }}</strong></span>
        </div>
        <div class="form-group {{ $errors->has('name') ? ' has-error' : '' }}">
            <label class="control-label">Name <span class="text-danger">*</span></label>
            {!! Form::text('name',null, ['class' => 'form-control','required'=>'required']) !!}
            <span class="help-block" id="error_name"><strong>{{ $errors->first('name') }}</strong></span>
        </div>
    </div>
</div>
@section('js')
<script type="text/javascript">
    $(document).ready(function () {
        $('.js-example-basic-multiple').select2();
    });
</script>
@endsection



