<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
	{!! Form::label('name', trans('general.nombre')) !!}
	{!! Form::text('name', null, ['class' => 'form-control']) !!}
	@if ($errors->has('name'))
		<span class="help-block">
			<strong>{{ $errors->first('name') }}</strong>
		</span>
	@endif
</div>
<div class="form-group{{ $errors->has('port') || $errors->has('port') ? ' has-error' : '' }}">
        	{!! Form::label('port',  trans('general.port')) !!}<br />
        	{!! Form::select('port_id', $port, null, ['class' => 'form-control']) !!}
    
	@if ($errors->has('port'))
		<span class="help-block">
			<strong>{{ $errors->first('port') }}</strong>
		</span>
	@endif
</div>
<div class="form-group{{ $errors->has('date') ? ' has-error' : '' }}">
        	{!! Form::label('date', trans('general.fecha')) !!}
        	<div class="input-group">
        		<div class="input-group-addon">
        		<i class="fa fa-calendar"></i>
        		</div>
        		{!! Form::text('date', null, ['class' => 'form-control datepicker', 'data-inputmask' => "'alias': 'mm/dd/yyyy'", 'data-mask' => '']) !!}
        	</div>
        	@if ($errors->has('date'))
        		<span class="help-block">
        			<strong>{{ $errors->first('date') }}</strong>
        		</span>
        	@endif
</div>


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