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


<div class="row">
	
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12">

	<h3>Listado de Temas </h3>

	<?php echo $__env->make('pagina.temas.search', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
	
</div>
</div>

<div class="row">
	
<div class="col-lg-12 col-md-12 col-sm-12 col xs-12">
	<div class="table-responsive">
		
      <table class="table table-striped table-bordered table-condensed table-hover">
      	
      	<thead>
      		 
      		<!--  <th>Id</th> -->
      		  <th>Temas</th>
            <th>Acciones</th>

      	</thead>


 
       <?php foreach($temas as $te): ?>

      	<tr>
      	<!--	<td><?php echo e($te->idtemas); ?></td> -->
      		<td><?php echo e($te->descripcion); ?></td>
           
            <td>
            <!-- 	<a href="<?php echo e(URL::action('TemasController@show',$te->idtemas)); ?>"><button class="btn btn-info">Comentarios</button></a>-->
              <a href="/comen?idTema=<?php echo e($te->idtemas); ?>"><button class="btn btn-info">Comentarios</button></a>
               
             </td>

      	</tr>
       
      	<?php endforeach; ?>

      	
      
	

      </table>

	</div>

	<?php echo e($temas->render()); ?>


 
	
</div>
</div>





<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.usuarios', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>