<?= form_open('catalogos/altas_e_s/insert_empresa',array('class' => 'form-horizontal','role' => 'form')) ?>
	<legend>Nueva Empresa</legend>

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

	<div class="form-group row">
		<?= form_label('Razón Social: ','',array('class' => 'col-sm-1 control-label')) ?>
		<div class="col-sm-3">
			<?= form_input(array('autofocus' => 'autofocus','class' => 'form-control','type' => 'text','name' => 'razon_social','id' => 'razon_social','title' => 'Necesario escribir una razón social','required' => 'required','placeholder' => 'Nueva Razón Social','value' => set_value('razon_social'))) ?>
		</div>
		<?= form_label('RFC: ','',array('class' => 'col-sm-1 control-label')) ?>
		<div class="col-sm-3">
			<?= form_input(array('class' => 'form-control','type' => 'text','name' => 'rfc','id' => 'rfc','title' => 'Necesario escribir un RFC','required' => 'required','placeholder' => 'Nuevo RFC','value' => set_value('rfc'))) ?>
		</div>
		<?= form_label('Contacto: ','',array('class' => 'col-sm-1 control-label')) ?>
		<div class="col-sm-3">
			<?= form_input(array('class' => 'form-control','type' => 'text','name' => 'contacto','id' => 'contacto','title' => 'Necesario escribir un Contacto','required' => 'required','placeholder' => 'Nuevo Contacto','value' => set_value('contacto'))) ?>
		</div>
	</div>

	<?= cat_generales(); ?>

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