File: /home/cursos.ril.es/storage/framework/views/8ed55c391eef889645af4665970669e162a628be.php
<div class="item col-xs-12 col-sm-6 col-md-4 padd-bottom <?php echo e(str_slug($curso->categoria()->first()->nombre)); ?>">
<div class="cover">
<?php if($curso->terminado()): ?>
<div class="finalizado"><a href="/cursos/<?php echo e($curso->slug); ?>">FINALIZADO</a></div>
<?php else: ?>
<?php if(! $curso->tienePlazas()): ?> <div class="finalizado"><a href="/cursos/<?php echo e($curso->slug); ?>">SIN PLAZAS</a></div> <?php endif; ?>
<?php endif; ?>
<div id="basic-info">
<h4 style="background: <?php echo e($curso->categoria()->first()->color); ?>" class="cat-name"><?php echo e($curso->categoria()->first()->nombre); ?></h4>
</div>
<figure><a href="/cursos/<?php echo e($curso->slug); ?>"><img src="<?php echo e($curso->imagen); ?>" class="img-responsive center-block" /></a></figure>
<h3 class="title"><a style="color:<?php echo e($curso->categoria()->first()->color); ?>" href="/cursos/<?php echo e($curso->slug); ?>"><?php echo e($curso->resumen); ?></a></h3>
<div class="metas">
<div>
<span><strong><?php echo e(\Carbon\Carbon::createFromFormat('Y-m-d', $curso->fechaInicio)->format('d-m-Y')); ?></strong></span>
<span><?php echo e($curso->horario); ?></span>
</div>
<div>
<span><?php echo e($curso->numMax - $curso->userscursos()->count()); ?> plazas disponibles</span>
<span class="price"><strong><?php echo e($curso->precios); ?>€</strong></span>
</div>
<div>
<span>
<?php if(Auth::check()): ?>
<a data-toggle="tooltip" data-placement="bottom" title="Si te interesas por un curso, te mantendremos informado sobre él en todo momento." href="#" data-id="<?php echo e($curso->id); ?>" class="interes <?php if($curso->interesado()): ?> checked <?php endif; ?> icon-heart2">Me interesa</a>
<?php else: ?>
<a data-toggle="tooltip" data-placement="bottom" title="Si te interesas por un curso, te mantendremos informado sobre él en todo momento." href="/login" class="icon-heart2">Me interesa</a>
<?php endif; ?>
</span>
<span> <?php if(! $curso->terminado()): ?> <a href="/inscribirse/<?php echo e($curso->slug); ?>" class="btn btn-default">Apúntame</a> <?php else: ?> <h5>Finalizado</h5> <?php endif; ?> </span>
</div>
</div>
</div>
</div>