Current File : /home/karenpetzb/application/modules/backoffice/views/scripts/product/option.phtml |
<div class="table-box">
<form method="POST" action="<?php echo $this->baseUrl; ?>/backoffice/product/option">
<table class="table">
<thead>
<tr>
<th class="col-md-4" colspan="2"><?php echo $this->titlePage; ?><i style="display:none">Liste de caract�ristiques d�taillant un produit</i></th>
</tr>
</thead>
<tbody>
<?php echo $this->render("alert_tr.phtml"); ?>
<tr class="nostriped">
<td class="col-md-4"><i class="glyphicon glyphicon-asterisk"></i> Caract�ristique</td>
<td class="col-md-8"><input type="text" class="form-control" size="60" name="nom" placeholder="Ajouter une caract�ristique de produit"></td>
</tr>
<tr class="nostriped">
<td colspan="2" class="text-center">
<button class="btn btn-success" type="submit" name="add"><i class="glyphicon glyphicon-plus"></i> Ajouter</button>
</td>
</tr>
</tbody>
</table>
</form>
</div>
<div class="clearfix"></div>
<div class="table-box">
<table class="display table" id="optionTable" width="100%">
<thead>
<tr>
<th>Caract�ristiques</th>
</tr>
</thead>
<tbody>
<?php foreach($this->listoption as $row) { ?>
<tr>
<td>
<form method="POST" action="<?php echo $this->baseUrl; ?>/backoffice/product/optionedit">
<div class="col-md-8 no-space-top">
<input type="text" class="form-control" size="40" name="nom" value="<?php echo $this->escape($row['NOM']);?>">
</div>
<div class="col-md-4 no-space-top">
<input type="hidden" name="id" id="id" value="<?php echo $this->escape($row['ID']);?>">
<div class="btn-group">
<button class="btn btn-success" type="submit" name="add"><i class="glyphicon glyphicon-edit"></i> Modifier</button>
<button class="btn btn-danger btn-modal" data-toggle="ajaxModalDelete" data-linkok="<?php echo $this->baseUrl; ?>/backoffice/product/optiondel/id/<?php echo $this->escape($row['ID']);?>" ><span class="glyphicon glyphicon-trash"></span> Supprimer</button>
</div>
</div>
</form>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>