
{{--<div class="form-group{{ $errors->has('leave_type_id') || $errors->has('leave_type') ? ' has-error' : '' }}">
	{!! Form::label('leave_type_id', 'Leave Type') !!}<br />
	{!! Form::select('leave_type_id', $leave_types, null, ['class' => 'form-control']) !!}
	@if ($errors->has('leave_type_id') || $errors->has('leave_type'))
		<span class="help-block">
			<strong>{{ $errors->has('leave_type') ? $errors->first('leave_type') : $errors->first('leave_type_id') }}</strong>
		</span>
	@endif
</div>--}}
<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
	{!! Form::label('name', trans('general.nombre').' '.trans('general.port')) !!}
	{!! 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('address') ? ' has-error' : '' }}">
	{!! Form::label('address', trans('general.localidad')) !!}
	
		
		{!! Form::text('address', null, ['class' => 'form-control']) !!}
	
	@if ($errors->has('address'))
		<span class="help-block">
			<strong>{{ $errors->first('launch') }}</strong>
		</span>
	@endif
</div>
<!-- div class="form-group{{ $errors->has('latitude') ? ' has-error' : '' }}">
	{!! Form::label('latitude', trans('general.latitude')) !!}
	{!! Form::text('latitude', null, ['class' => 'form-control']) !!}
	@if ($errors->has('latitude'))
		<span class="help-block">
			<strong>{{ $errors->first('	latitudemaker') }}</strong>
		</span>
	@endif
</div>
<div class="form-group{{ $errors->has('longitud') ? ' has-error' : '' }}">
	{!! Form::label('longitud', trans('general.longitud')) !!}
	{!! Form::text('longitud', null, ['class' => 'form-control']) !!}
	@if ($errors->has('longitud'))
		<span class="help-block">
			<strong>{{ $errors->first('longitud') }}</strong>
		</span>
	@endif
</div -->

<div class="form-group{{ $errors->has('description') ? ' has-error' : '' }}">
	{!! Form::label('description', trans('general.descripcion')) !!}
	{!! Form::textarea('description', null, ['class' => 'form-control']) !!}
	@if ($errors->has('description'))
		<span class="help-block">
			<strong>{{ $errors->first('description') }}</strong>
		</span>
	@endif
</div>

<div class="form-group{{ $errors->has('portTypes')  ? ' has-error' : '' }}">
        	{!! Form::label('portTypes',  trans('general.tipo')) !!}<br />
        	{!! Form::select('porttype_id', $portTypes, null, ['class' => 'form-control']) !!}
        	@if ($errors->has('portTypes'))
        		<span class="help-block">
        			<strong>{{ $errors->has('portTypes') }}</strong>
        		</span>
        	@endif
</div>

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


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