<?php use_helper('Object','Validation')?>
<h1>Submen&uacute;s</h1>
<?php isset($mensaje) ? include_partial('partials/mensaje',array('mensaje' =>$mensaje)) : ''?>
<?php echo form_tag('credenciales/listar')?>
<table class="show">
	<tr>
		<th colspan="2">Seleccione una opci&oacute;n</th>
	</tr>
	<tr>
		<th>Men&uacute;</th>
		<td><?php echo select_tag('id_menu',objects_for_select($menus,'getId','getDescripcion','','include_custom=Seleccione un men&uacute;'))?><?php echo form_error('id_menu')?></td>
	</tr>
</table>
<?php include_partial('partials/submit',array('tool_submit' => 'Listar','return' => 'main/index','image_cancel' => 'home','tool_cancel' => 'Inicio'))?>