<div id="page-content-wrapper">
<div class="page-content inset">
<div class="btn-group pull-right">


</div>
<div class="row">
<div class="col-md-7"></div>
<Center>
 <ul class="breadcrumb">
    <!-- Menu que direcciona a los  Productos internos, adicionales y al Público-->
  <li><a href="<?php echo base_url();?>leyendas/administrador/leyendaA">Leyendas</a> <span class="divider"></span></li>
  <li><a href="<?php echo base_url();?>leyendas/administrador/leyendaA/MostrarAsignaciones"> Leyendas Asignadas</a><span class="divider"></span></li>
</ul>
</Center>
<form action="<?php echo base_url();?>leyendas/administrador/leyendaA/AsignarFranquicia/IdLeyendas" method="POST">
<center><h1>Asignar Leyenda </h1></center>

<h3><center>
 <?php foreach ($ReLeyendas as $i => $Leyendas)    
      echo '<option value="',$i,'">',$Leyendas,'</option>'; ?> </select>
 </center></h3></div>
    <div class="col-md-12">



  <div class="table-responsive">
  <table class="table table-striped jambo_table bulk_action text-centered">
  <thead>
    <center>
  <tr class="headings">
  <th>Franquicia</th>
  <th></th>
  <th>Asignar</th>
</tr>

  <tbody>
  <?php 
          if ($consulta != FALSE){
            foreach ($consulta->result() as $fila){
              echo "<tr>";
             
                echo "<td>".$fila->NombreFranquicia ."</td>";
                 "<td>".$fila->IdFranquicias ."</td>";
                echo "<td></td>";
                $v= $fila->IdFranquicias;
         
                echo "<td>";?>
                  <button type="submit"  name="Franquicias" class="form-check-input" value="<?=$v?>"><?php  echo "<span class='glyphicon glyphicon-ok'></a></span>"?></button><?php
                echo "</tr>";
            } 
          }       
        ?></th>

</tr>







    <input type="text" class="form-control" id="leyenda" maxlength='45' name="leyenda" style="visibility:hidden;" value="<?php echo $id= $this -> uri->segment(5);?>" >

 



<!--<button type="submit"  name="Franquicias" class="form-check-input" value="2"><?php  echo "<span class='glyphicon glyphicon-ok'></a></span>"?></button>
</div>
<button type="submit"  name="Franquicias" class="form-check-input" value="5"><?php  echo "<span class='glyphicon glyphicon-ok'></a></span>"?></button>
</tbody></th></tr></thead></table></div></div></h1></center></form></div></div>-->
</tbody>
</th>
</tr>
</thead>
</table>
</div>
</h1>
</center>
</form>
</div>
</div>
</div>