<div class="form-group<?php echo e($errors->has('name') ? ' has-error' : ''); ?>">
	<?php echo Form::label('name', trans('general.nombre')); ?>

	<?php echo Form::text('name', null, ['class' => 'form-control']); ?>

	<?php if($errors->has('name')): ?>
		<span class="help-block">
			<strong><?php echo e($errors->first('name')); ?></strong>
		</span>
	<?php endif; ?>
</div>
<div class="form-group<?php echo e($errors->has('port') || $errors->has('port') ? ' has-error' : ''); ?>">
        	<?php echo Form::label('port',  trans('general.port')); ?><br />
        	<?php echo Form::select('port_id', $port, null, ['class' => 'form-control']); ?>

    
	<?php if($errors->has('port')): ?>
		<span class="help-block">
			<strong><?php echo e($errors->first('port')); ?></strong>
		</span>
	<?php endif; ?>
</div>
<div class="form-group<?php echo e($errors->has('date') ? ' has-error' : ''); ?>">
        	<?php echo Form::label('date', trans('general.fecha')); ?>

        	<div class="input-group">
        		<div class="input-group-addon">
        		<i class="fa fa-calendar"></i>
        		</div>
        		<?php echo Form::text('date', null, ['class' => 'form-control datepicker', 'data-inputmask' => "'alias': 'mm/dd/yyyy'", 'data-mask' => '']); ?>

        	</div>
        	<?php if($errors->has('date')): ?>
        		<span class="help-block">
        			<strong><?php echo e($errors->first('date')); ?></strong>
        		</span>
        	<?php endif; ?>
</div>


<div class="pull-right">
	<?php echo Form::submit(trans('general.save'), ['class' => 'btn btn-success btn-flat']); ?>

	<a href="<?php echo e(asset('/festives')); ?>" type="button" class="btn btn-default btn-flat"><?php echo e(trans('general.cancel')); ?></a>
</div>