<div class="form-group{{ $errors->has('boat_id')  ? ' has-error' : '' }}">
        	{!! Form::label('boat_id',  'Embarcación') !!}<br />
        	{!! Form::select('boat_id', $boats, null, ['class' => 'form-control']) !!}
        	@if ($errors->has('boat_id'))
        		<span class="help-block">
        			<strong>{{ $errors->has('boat_id') }}</strong>
        		</span>
        	@endif
</div>

<div class="form-group{{ $errors->has('schedule_id') || $errors->has('schedule_id') ? ' has-error' : '' }}">
        	{!! Form::label('schedule_id',  trans('general.schedule')) !!}<br />
        	{!! Form::select('schedule_id', $schedule, null, ['class' => 'form-control schedule', 'id'=>'schedule_id']) !!}

	@if ($errors->has('schedule_id'))
		<span class="help-block">
			<strong>{{ $errors->first('schedule_id') }}</strong>
		</span>
	@endif
</div>

<div class="form-group{{ $errors->has('reason')  ? ' has-error' : '' }}">
        	{!! Form::label('reason',  'Motivo') !!}<br />
        	{!! Form::select('reason', array('F' => 'Formación', 'L' => 'Limpieza', 'M' => 'Mantenimiento'), null, ['class' => 'form-control']) !!}
        	@if ($errors->has('reason'))
        		<span class="help-block">
        			<strong>{{ $errors->has('reason') }}</strong>
        		</span>
        	@endif
</div>

<div class="form-group{{ $errors->has('day') ? ' has-error' : '' }}">
	{!! Form::label('day', 'Fecha') !!}
	<div class="input-group">
		<div class="input-group-addon">
		<i class="fa fa-calendar"></i>
		</div>
		{!! Form::text('day', null, ["class" => "form-control datepicker", "data-inputmask" => "dd/mm/yyyy", "data-mask" => "yyyy-mm-dd"]) !!}
	</div>
	@if ($errors->has('day'))
		<span class="help-block">
			<strong>{{ $errors->first('day') }}</strong>
		</span>
	@endif
</div>

<div class="pull-right">
	{!! Form::submit(trans('general.save'), ['class' => 'btn btn-success btn-flat']) !!}
	<a href="{{ asset('/blocks') }}" type="button" class="btn btn-default btn-flat">{{trans('general.cancel')}}</a>
</div>
