

<?php $__env->startSection('head'); ?>
	<link href="<?php echo e(asset('/plugins/select2/select2.min.css')); ?>" rel="stylesheet" />
	<link rel="stylesheet" href="<?php echo e(asset('plugins/jQuery/themes/smoothness/jquery-ui.min.css')); ?>">
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<div class="content-wrapper">
	<section class="content-header">
		<h1>
		Enlaces
		</h1>
	</section>

	<section class="content">
		<div class="row">
			<div class="col-md-8 col-md-offset-2">
				<div class="box box-success">
					<div class="box-header">	
						<h3 class="box-title"><?php echo e(trans('general.nuevo')); ?> enlace</h3>
					</div>
					<div class="box-body">
						<?php echo Form::open(['url' => 'links']); ?>

						<?php echo $__env->make('links.form', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
						<?php echo Form::close(); ?>

					</div>
				</div>
			</div>
		</div>
	</section>
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('foot'); ?>
	<script src="<?php echo e(asset('plugins/jQueryUI/jquery-ui.min.js')); ?>"></script>
	<script src="<?php echo e(asset('/plugins/select2/select2.min.js')); ?>"></script>
	<script type="text/javascript">
		$(function () {
			$("select").select2({
				placeholder: "Select",
				allowClear: true
			});
		});
    </script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make(Auth::check() && Auth::user()->role->layout == 1 ? 'layouts.admin' : 'layouts.employee', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>