Current File : /home/karenpetzb/application/modules/backoffice/views/scripts/user/codeinterne.phtml
 <div class="table-box">
	<form method="POST" action="<?php echo $this->baseUrl; ?>/backoffice/user/codeinterne">
	<table class="table">
		<thead>
			<tr>
				<th class="col-md-4" ><?php echo $this->titlePage; ?></th>
			</tr>
		</thead>
		<tbody>
			<?php echo $this->render("alert_tr.phtml"); ?>
			<tr class="nostriped">
				<td>
					<div class="col-md-6 no-space-top">
						<div class="col-md-4 no-space-top"><i class="glyphicon glyphicon-asterisk"></i>&nbsp;Code</div>
						<div class="col-md-8 no-space-top"><input type="text" class="form-control" placeholder="Code interne pouvant �tre associ� au client"  name="code" id="code" value="" size="20" ></div>
					</div>					
					<div class="col-md-6 no-space-top">
						<div class="col-md-4 no-space-top"><i class="glyphicon glyphicon-asterisk"></i>&nbsp;Description</div>
						<div class="col-md-8 no-space-top"><input type="text" class="form-control" placeholder="Description du code interne" name="label" id="label" value="" size="60" ></div>
					</div>
				</td>
			</tr>
			<tr class="nostriped">
				<td class="text-center">
					<button class="btn btn-success" type="submit" name="add"><i class="glyphicon glyphicon-plus"></i>&nbsp;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>Codes internes</th> 
		</tr>
	</thead>
	<tbody>
		<?php foreach($this->listcodeintern as $row)  { ?>
		<tr>
			<td>
				<form method="POST" action="<?php echo $this->baseUrl; ?>/backoffice/user/codeinterneedit">
					<div class="col-md-5 no-space-top">
						<div class="col-md-4 no-space-top"><i class="glyphicon glyphicon-asterisk"></i>&nbsp;Code</div>
						<div class="col-md-8 no-space-top"><input type="text" class="form-control" size="20" name="code" id="code" value="<?php echo $this->escape($row['CODE']);?>"></div>
					</div>					
					<div class="col-md-5 no-space-top">
						<div class="col-md-4 no-space-top"><i class="glyphicon glyphicon-asterisk"></i>&nbsp;Description</div>
						<div class="col-md-8 no-space-top"><input type="text" class="form-control"  size="60" name="label" id="label" value="<?php echo $this->escape($row['LABEL']);?>"></div>
					</div>
					<div class="col-md-2 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>&nbsp;Modifier</button>
							<button class="btn btn-danger btn-modal" data-toggle="ajaxModalDelete" data-linkok="<?php echo $this->baseUrl; ?>/backoffice/user/codeinternedel/id/<?php echo $this->escape($row['ID']);?>" ><span class="glyphicon glyphicon-trash"></span> Supprimer</button>
						</div>
					</div>
				</form>
			</td>
		</tr>
		<?php } ?>
	</tbody>
</table>
</div>