{!! Form::label('boat_id', 'Embarcación') !!}
{!! Form::select('boat_id', $boats, null, ['class' => 'form-control']) !!} @if ($errors->has('boat_id')) {{ $errors->has('boat_id') }} @endif
{!! Form::label('schedule_id', trans('general.schedule')) !!}
{!! Form::select('schedule_id', $schedule, null, ['class' => 'form-control schedule', 'id'=>'schedule_id']) !!} @if ($errors->has('schedule_id')) {{ $errors->first('schedule_id') }} @endif
{!! Form::label('reason', 'Motivo') !!}
{!! Form::select('reason', array('F' => 'Formación', 'L' => 'Limpieza', 'M' => 'Mantenimiento'), null, ['class' => 'form-control']) !!} @if ($errors->has('reason')) {{ $errors->has('reason') }} @endif
{!! Form::label('day', 'Fecha') !!}
{!! Form::text('day', null, ["class" => "form-control datepicker", "data-inputmask" => "dd/mm/yyyy", "data-mask" => "yyyy-mm-dd"]) !!}
@if ($errors->has('day')) {{ $errors->first('day') }} @endif
{!! Form::submit(trans('general.save'), ['class' => 'btn btn-success btn-flat']) !!} {{trans('general.cancel')}}