<div class="row">
    <div class="col-md-6 col-md-offset-3">

        <div class="form-group <?php echo e($errors->has('board_id') ? ' has-error' : ''); ?>">
            <label class="control-label">Board <span class="text-danger">*</span></label>
            <?php echo Form::select('board_id',[''=>'-- Select Board --']+App\Model\Board::all()->pluck('name','id')->toArray() ,null, ['class' => 'form-control js-example-basic-multiple','required'=>'required']); ?>

            <span class="help-block" id="error_category_id"><strong><?php echo e($errors->first('board_id')); ?></strong></span>
        </div>
	    <div class="form-group <?php echo e($errors->has('medium_id') ? ' has-error' : ''); ?>">
            <label class="control-label">Medium <span class="text-danger">*</span></label>
            <?php echo Form::select('medium_id',[''=>'-- Select Medium --']+App\Model\Medium::all()->pluck('name','id')->toArray() ,null, ['class' => 'form-control js-example-basic-multiple','required'=>'required']); ?>

            <span class="help-block" id="error_category_id"><strong><?php echo e($errors->first('medium_id')); ?></strong></span>
        </div>
        <div class="form-group <?php echo e($errors->has('name') ? ' has-error' : ''); ?>">
            <label class="control-label">Name <span class="text-danger">*</span></label>
            <?php echo Form::text('name',null, ['class' => 'form-control','required'=>'required']); ?>

            <span class="help-block" id="error_name"><strong><?php echo e($errors->first('name')); ?></strong></span>
        </div>
    </div>
</div>
<?php $__env->startSection('js'); ?>
<script type="text/javascript">
    $(document).ready(function () {
        $('.js-example-basic-multiple').select2();
    });
</script>
<?php $__env->stopSection(); ?>




