<section class="content">
      <!-- Default box -->
    <div class="box">
        <div class="box-header with-border">
            <h3 class="box-title">Lista de  Generos</h3>

            <div class="box-tools pull-right">
                <button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse">
                <i class="fa fa-minus"></i></button>
                <button type="button" class="btn btn-box-tool" data-widget="remove" data-toggle="tooltip" title="Remove">
                <i class="fa fa-times"></i></button>
             </div>
        </div>
        <div class="box-body">
            <div class="row">
                <div class="col-md-12 text-right">
                    <a href="<?php echo base_url(); ?>backend/Generos/add" class="btn btn-primary"><i class="fa fa-plus" aria-hidden="true"></i> Nueva Genero</a>
                </div>
            </div>
            <!-- /.row -->
             <hr>
            <div class="row">
                <div class="col-md-12">
                    <table id="example1" class="table table-bordered table-dataTables">
                        <thead>
                            <tr>
                                <th>#</th>
                                <th>Nombre</th>
                                <th>Acciones</th>
                            </tr>
                        </thead>
                        <tbody>
                            <?php if ($Generos): ?>
                                <?php $i = 1;?>
                                <?php foreach ($Generos as $Genero): ?>
                                    <tr>
                                        <td><?php echo $i ?></td>
                                        <td><?php echo $Genero->nombre; ?></td>
                                        <td>
                                            <a href="<?php echo base_url(); ?>backend/Generos/edit/<?php echo $Genero->id; ?>" class="btn btn-info btn-xs btn-flat" title="Editar"><i class="fa fa-pencil-square-o" aria-hidden="true"></i></a>
                                            <a href="<?php echo base_url(); ?>backend/Generos/delete/<?php echo $Genero->id; ?>" class="btn btn-danger btn-remove btn-xs btn-flat" title="Eliminar"><i class="fa fa-trash-o" aria-hidden="true"></i></a>
                                        </td>
                                    </tr>
                                    <?php $i++;?>
                                <?php endforeach;?>
                            <?php endif;?>
                        </tbody>
                    </table>
                </div>
            </div>
            <!-- /.row -->
        </div>
        <!-- /.box-body -->
    </div>
      <!-- /.box -->
</section>