<td><?php echo $qualidade; ?> </td> <td class="text-center">1</td> </tr> <?php } ?> </tbody> </table> <?php } ?> <?php $desvantagens = $personagem->listarDesvantagem(); ?> <?php if (count($desvantagens) > 0) { ?> <table width="100%"> <thead> <tr> <th><?php echo _("Disadvantages"); ?> </th> <th class="text-center">Pts</th> </tr> </thead> <tbody>
<?php } ?> </tbody> </table> </div> <div class="six columns"> <a href="#" class="button small right" style="margin-top: 5px" data-toggle="modal" data-target="#vantagemModal">Nova</a> <h6><?php echo _("Disadvantage"); ?> </h6> <table id="desvantagens" width="100%"> <tbody> <?php foreach ($personagem->listarDesvantagem() as $vantagem) { ?> <tr id="desvantagem<?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;