_search.php 1.08 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
<div class="wide form">

<?php $form = $this->beginWidget('GxActiveForm', array(
	'action' => Yii::app()->createUrl($this->route),
	'method' => 'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model, 'PK_MZGTCARRERAS'); ?>
		<?php echo $form->textField($model, 'PK_MZGTCARRERAS'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'MZGTCARRERAS_NOMBRE'); ?>
		<?php echo $form->textField($model, 'MZGTCARRERAS_NOMBRE', array('maxlength' => 200, 'size'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'MZGTCARRERAS_BANNER'); ?>
		<?php echo $form->textField($model, 'MZGTCARRERAS_BANNER', array('maxlength' => 20)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'MZGTCARRERAS_ESTADO'); ?>
		<?php echo $form->dropDownList($model, 'MZGTCARRERAS_ESTADO', array('0' => Yii::t('app', 'Inactivo'), '1' => Yii::t('app', 'Activo')), array('prompt' => Yii::t('app', 'Todos'))); ?>
	</div>

	<div class="row buttons">
		<?php echo GxHtml::submitButton(Yii::t('app', 'Buscar')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->