<td class="text-center"><?php echo $item->getQuantidade(); ?> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> <div class="four columns"> <?php $vantagens = $personagem->listarVantagem(); ?> <?php if (count($vantagens) > 0) { ?> <table width="100%"> <thead> <tr> <th><?php echo _("Advantages"); ?> </th> <th class="text-center">Pts</th> </tr> </thead> <tbody>
<div class="six columns"> <a href="#" class="button small right" style="margin-top: 5px" data-toggle="modal" data-target="#vantagemModal"><?php echo _("New"); ?> </a> <h6><?php echo _("Advantage"); ?> </h6> <table id="vantagens" width="100%"> <tbody> <?php $i = 0; ?> <?php foreach ($personagem->listarVantagem() as $vantagem) { ?> <tr id="vantagem<?php echo $i; ?> "> <td> <input type="hidden" class="slug" name="vantagem[<?php echo $i; ?> ][slug]" value="<?php echo $vantagem->getSlug(); ?> " /> <input type="hidden" class="nome" name="vantagem[<?php echo $i;