<?= form_open('catalogos/cat_planta/insert',array('class' => 'form-horizontal','role' => 'form')) ?>
	<legend>Nuevo Registro Catálogo de Planta</legend>

	<?= my_validation_errors(validation_errors()); ?>

	<div class="form-group">
		<?= form_label('Código: ','lbl_cat_planta',array('class' => 'col-sm-2 control-label')) ?>
		<div class="col-sm-3">
			<?= form_input(array('class' => 'form-control','type' => 'text','name' => 'codigo','id' => 'codigo','title' => 'Necesario escribir un Código','required' => 'required','placeholder' => 'Nuevo Código','autofocus' => 'autofocus')) ?>
		</div>
	</div>
	
	<div class="form-group">
		<?= form_label('Descripción: ','lbl_cat_planta',array('class' => 'col-sm-2 control-label')) ?>
		<div class="col-sm-3">
			<?= form_input(array('class' => 'form-control','type' => 'text','name' => 'descripcion','id' => 'descripcion','title' => 'Necesario escribir una Descripción','required' => 'required','placeholder' => 'Nueva Descripción')) ?>
		</div>
	</div>

	<div class="col-sm-offset-2 cols-sm-1">
		<?= form_button(array('type' => 'submit','content' => 'Aceptar','class' => 'btn btn-primary')) ?>
		<?= anchor('catalogos/cat_planta/index','Cancelar',array('class' => 'btn btn-danger')) ?>
	</div>
<?= form_close(); ?>