<a href="#" style="border-bottom: dashed 1px #0088cc;" class="edit-name">
    <?php echo $row->name; ?>

</a>

<?php echo Form::open(array('route' => array('admin.products.update', $row->id), 'method' => 'PUT', 'data-remote' => 'true', 'class' => "form-name form-inline hide")); ?>

<div class="form-group">
    <?php echo Form::text('name',$row->name, array('class' => 'form-control input-sm')); ?>

</div>
<button class="btn btn-primary btn-sm" type="submit"><i class="fa fa-check bigger-110"></i></button>
<button class="btn btn-default btn-sm edit-name-cancel" type="button"><i class="fa fa-times bigger-110"></i></button>
<?php echo Form::close(); ?>


<?php if($row->new): ?>
<br/><span class="label label-success">Novo</span>
<?php endif; ?>

<?php if($row->top_sales): ?>
<br/><span class="label label-info">Top Vendas</span>
<?php endif; ?>
