{{--
{!! Form::label('leave_type_id', 'Leave Type') !!}
{!! Form::select('leave_type_id', $leave_types, null, ['class' => 'form-control']) !!} @if ($errors->has('leave_type_id') || $errors->has('leave_type')) {{ $errors->has('leave_type') ? $errors->first('leave_type') : $errors->first('leave_type_id') }} @endif
--}}
{!! Form::label('name', trans('general.nombre').' '.trans('general.boat')) !!} {!! Form::text('name', null, ['class' => 'form-control']) !!} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{!! Form::label('launch', trans('general.launch')) !!}
{!! Form::text('launch', null, ['class' => 'form-control datepicker', 'data-inputmask' => "'alias': 'mm/dd/yyyy'", 'data-mask' => '']) !!}
@if ($errors->has('launch')) {{ $errors->first('launch') }} @endif
{!! Form::label('maker', trans('general.maker')) !!} {!! Form::text('maker', null, ['class' => 'form-control']) !!} @if ($errors->has('maker')) {{ $errors->first('maker') }} @endif
{!! Form::label('number', trans('general.boatnumber')) !!} {!! Form::text('number', null, ['class' => 'form-control']) !!} @if ($errors->has('number')) {{ $errors->first('number') }} @endif
{!! Form::label('model', trans('general.model')) !!} {!! Form::text('model', null, ['class' => 'form-control']) !!} @if ($errors->has('model')) {{ $errors->first('model') }} @endif
{!! Form::label('port', trans('general.puerto')) !!}
{!! Form::select('port_id', $port, null, ['class' => 'form-control']) !!} @if ($errors->has('port')) {{ $errors->has('port') }} @endif
{!! Form::label('boatTypes', trans('general.tipo')) !!}
{!! Form::select('boattype_id', $boatTypes, null, ['class' => 'form-control']) !!} @if ($errors->has('boatTypes')) {{ $errors->has('boatTypes') }} @endif
{!! Form::label('users[]', trans('general.cliente')) !!} {{ Form::select('users[]', [], null, ['class' => 'form-control', 'id' => 'users', 'multiple' => 'multiple','required' => 'required']) }}
{!! Form::submit(trans('general.save'), ['class' => 'btn btn-success btn-flat']) !!} {{trans('general.cancel')}}