<?php $__env->startSection('CSS'); ?>
<?php $__env->stopSection(); ?>


<?php $__env->startSection('Contenido'); ?>
<div class="row">
	<div class="col-md-12">
		<h2><i class="fa fa-question-circle"></i> Administración de videos de ayuda </h2>
	</div><!--/col-md-12-->
</div><!--/row-->

<div class="row">
	<div class="col-md-12">
		<?php if(Session::has('message')): ?>
		<div class="alert alert-info"><?php echo Session::get('message'); ?></div>
		<?php endif; ?>
	</div>
</div>

<div class="row">
	<div class="col-md-12">
		<div class="block-web">
			<div class="header"> <h3 class="content-header"> Vistas para agregar páginas de documentación de ayuda </h3> </div>
			<div class="porlets-content">
				<div class="table-responsive">
					<table class="table table-striped table-bordered table-hover">
						<thead>
							<tr>
								<th class="col-md-5"> Título </th>
								<th class="col-md-5"> Ruta </th>
								<th class="col-md-2"> Acciones </th>
							</tr>
						</thead>
						<tbody>
							<?php $__empty_1 = true; foreach($DocsAyuda as $DocAyuda): $__empty_1 = false; ?>
							<tr>
								<td> <?php echo $DocAyuda['titulo']; ?> </td>
								<td> <?php echo $DocAyuda['ruta']; ?> </td>
								<td>
									<a href="<?php echo URL::route('SysWebVideosVistaDocsEditar', array($idV, $DocAyuda['idPD'])); ?>" class="btn btn-warning">Editar</a>
									<a href="#" class="btn btn-danger">Eliminar</a>
								</td>
							</tr>
							<?php endforeach; if ($__empty_1): ?>
							<tr class="danger"> <td colspan="3"> No existe ningún video agregado a la vista </td> </tr>
							<?php endif; ?>
						</tbody>
					</table>
				</div>
			</div>
			<div class="bottom">
				<?php echo HTML::linkRoute('SysWebVideosVistaDocsAgregar', 'Agregar', array($idV), array('class' => 'btn btn-primary')); ?>

				<?php echo HTML::linkRoute('SysWebVideosAyuda', 'Cancelar', array(), array('class' => 'btn btn-default')); ?>

			</div>
		</div>
	</div>
</div><!--/row end-->
<?php $__env->stopSection(); ?>

<?php $__env->startSection('JS'); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('JSOr'); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('BaseSistemaWeb', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>