Example #1
0
echo $form->labelEx($model, 'mes_inicio');
?>
			<?php 
echo $form->dropDownList($model, 'mes_inicio', CHtml::listData(Meses::model()->findAll(), 'id', 'mes'), array('class' => 'input', 'empty' => "(Seleccione)"));
?>
			<?php 
echo $form->error($model, 'mes_inicio');
?>
		</div>

		<div class="span4">
			<?php 
echo $form->labelEx($model, 'mes_fin');
?>
			<?php 
echo $form->dropDownList($model, 'mes_fin', CHtml::listData(Meses::model()->findAll(), 'id', 'mes'), array('class' => 'input', 'empty' => "(Seleccione)"));
?>
			<?php 
echo $form->error($model, 'mes_fin');
?>
		</div>
	</div>

	<div class="row">
		<div class="span6">
			<label>Días de la semana en las que tomaria las clases:</label>
			<table class="table text-center">
				<th>
					<td class="text-center">
						<?php 
echo $form->labelEx($model, 'lunes');
Example #2
0
<p class="help-block">Campos con <span class="required">*</span> son obligatorios.</p>

<?php echo $form->errorSummary($model); ?>

        
        <?php echo $form->labelEx($model, 'idCuenta');?>
	<?php echo $form->dropDownList($model,'idCuenta',CHtml::listData(Cuenta::model()->findAll(array('order'=>'idCuenta')), 'idCuenta', 'idCliente'),array('empty'=>'Seleccionar..' ));?>


        <?php echo $form->textFieldRow($model,'ciclo',array('ciclo'=>date('YYYY')));?>
     
	<?php echo $form->textFieldRow($model,'fechaEmision', array('fechaEmision'=>date('dd-mm-yy'))) ?>
        <?php echo $form->textFieldRow($model,'fechaCobroCompleto') ?>
	
	<?php echo $form->dropDownList($model, 'concepto', array('CUOTA' => 'Cuota Mensual', 'MATRICULA' => 'Matricula Año Lectivo')); ?>

        <?php echo $form->dropDownList($model, 'mes', CHtml::listData(Meses::model()->findAll(array('order'=>'idMes')),'idMes', 'nombre'),array('empty'=>'Seleccionar..' ));?>

	<?php echo $form->textFieldRow($model,'importePendiente',array('class'=>'span2')); ?>      

<div class="form-actions">
	<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType'=>'submit',
			'type'=>'primary',
			'label'=>$model->isNewRecord ? 'Crear' : 'Guardar',
		)); ?>
    
</div> 
 <?php $this->endWidget(); ?>