<?php use_helper('Object','Validation')?>
<h1><?php echo $titulo?> <?php include_partial('partials/info',array('tool'=>'M&aacute;s informaci&oacute;n sobre edici&oacute;n de menus')) //TODO redireccionar al manual?>
</h1>
<?php if(count($menu) > 0): ?>
<?php echo form_tag('menus/update')?>
<?php if($menu->getId()): ?>
<?php echo input_hidden_tag('id',$menu->getId())?>
<?php endif?>
<table class="show">
	<tr>
		<th align="left">Nombre del menu</th>
		<td><?php echo input_tag('descripcion',$menu->getDescripcion())?> <?php echo form_error('descripcion')?>
		</td>
	</tr>
	<tr>
		<th align="left">Orden</th>
		<td><?php echo input_tag('orden',$menu->getOrden())?> <?php echo form_error('orden')?>
		</td>
	</tr>
</table>
<?php include_partial('partials/submit',array('return' => 'menus/index','confirm_submit' => 'Seguro que desea guardar los cambios'))?>
<?php else: ?>
<?php include_partial('partials/no_found',array('tool' => 'Cancelar', 'image' => 'cancel', 'return' => 'menus/index'))?>
<?php endif?>