							<div class="row-fluid">
                                <div class="span12">
                            
                                    <p><?php echo anchor('administracion/jurisdiccion_nueva', 'Agrega una jurisdicción'); ?></p>

                                    <table id="proveedores-table" class="table table-bordered table-hover">
                                        <thead>
                                            <tr>
                                                <th>#</th>
                                                <th>Nombre</th>
                                                <th>Status</th>
                                                <th>Editar</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <?php 
                                            
                                            $i = 1;
                                            foreach($query->result() as $row){

                                                if($row->jurisdiccionActiva == 0)
                                                {
                                                    $color = ROJO;
                                                    $estaactivo = 'INACTIVA';
                                                }else
                                                {
                                                    $color = '';
                                                    $estaactivo = 'ACTIVA';
                                                }
                                            
                                            ?>
                                            <tr style="background-color: <?php echo $color; ?>; ">
                                                <td><?php echo $row->numjurisd; ?></td>
                                                <td><?php echo $row->jurisdiccion; ?></td>
                                                <td class="center"><?php echo $estaactivo ?></td>
                                                <td><?php echo anchor('administracion/jurisdiccion_edita/'.$row->numjurisd, 'Edita', array('class' => 'btn primary')); ?></td>
                                            </tr>
                                            <?php 
                                            
                                            $i++;
                                            
                                            } 
                                            
                                            ?>
                                        </tbody>
                                    </table>
                            
                                </div>
                            </div>
