@extends('Frontend.Layouts.modal') @section('title', trans('front.assign')) @section('body') {!!Form::open(['route' => 'tasks.assign', 'method' => 'POST', 'class' => 'task-assign-form'])!!}
{!!Form::label('device_id', trans('validation.attributes.device_id').'*:')!!} {!!Form::select('device_id', $devices, null, ['class' => 'form-control', 'data-live-search' => true])!!}
{!! Form::label('tasks', trans('validation.attributes.tasks').'*:') !!} {!! Form::select('tasks[]', $tasks->lists('title', 'id'), $ids, ['class' => 'form-control multiexpand', 'multiple' => 'multiple', 'data-live-search' => true, 'data-actions-box' => true]) !!}
{!!Form::close()!!} @stop @section('buttons') @stop