@extends('commons.layouts.admin') @section('content') {!!Form::model($model, array("url"=>null,"method"=>"post","class"=>"form-horizontal","files"=>true))!!} @include('commons.layouts.partials._alert')
{{App\Language::trans('Tester Information')}}
{!!$errors->first('status', '
:message
')!!}
{!!Form::text("code", isset($number) ? $number:null, array("id"=>"code","class"=>"form-control","maxlength"=>"100"))!!} {!!$errors->first('code', ':message')!!}
{!!Form::text("name", null, array("id"=>"name","class"=>"form-control","maxlength"=>"100"))!!} {!!$errors->first('name', ':message')!!}
{!! Form::label('date_started', App\Language::trans('Date Started'), ['class'=>'control-label col-md-4']) !!}
{!! Form::text('date_started', null, ['class'=>'form-control']) !!} {!!$errors->first('date_started', '')!!}
{!! Form::label('date_ended', App\Language::trans('Date Ended'), ['class'=>'control-label col-md-4']) !!}
{!! Form::text('date_ended', null, ['class'=>'form-control']) !!} {!!$errors->first('date_ended', '')!!}
{{App\Language::trans('Tester listing')}}
{!!Form::select("tester_id[]", App\Customer::combobox_from_leaf(), strlen($model->tester_id) > 1 ? json_decode($model->tester_id,true):null, array("style"=>"width: 100%;", "multiple class"=>"chosen-select","class"=>"form-control select2","id"=>"tester_id","multiple"=>true))!!}
{!!Form::close()!!} @stop @section('script') init_single_select2($("select")); init_dual_list($("select[id=tester_id]")); @stop