Esempio n. 1
0
?>
    </div>
    <div class="span2">
      <?php 
echo $form->labelEx($model, 'BudgetPlaces');
?>
      <?php 
echo $form->textField($model, 'BudgetPlaces', array('class' => 'span12'));
?>
      <?php 
echo $form->error($model, 'BudgetPlaces');
?>
    </div>
    <div class="span1">
      <input type="hidden" name="SpecialityQuotesCreate" value="1" />
      <?php 
echo CHtml::label('OK', 'SpecialityQuotesCreateButton');
$this->widget("bootstrap.widgets.TbButton", array('buttonType' => 'submit', 'type' => 'primary', 'icon' => 'star', 'id' => 'SpecialityQuotesCreateButton'));
?>
    </div>
  </div>
<?php 
$this->endWidget();
?>

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

<?php 
$this->widget('bootstrap.widgets.TbGridView', array('id' => 'specialityquotes-grid', 'type' => 'striped bordered condensed', 'dataProvider' => $model->search(), 'filter' => $model, 'columns' => array(array("name" => 'idSpecialityQuotes', 'htmlOptions' => array('class' => 'span1'), 'headerHtmlOptions' => array('class' => 'span1')), array('class' => 'bootstrap.widgets.TbEditableColumn', 'name' => 'SpecialityID', 'editable' => array('url' => $this->createUrl('specialityquotes/xedit'), 'type' => 'select', 'source' => Specialities::getAllSpecs(), 'placement' => 'right', 'inputclass' => 'span3'), 'htmlOptions' => array('class' => 'span5'), 'headerHtmlOptions' => array('class' => 'span5')), array('class' => 'bootstrap.widgets.TbEditableColumn', 'name' => 'QuotaID', 'editable' => array('url' => $this->createUrl('specialityquotes/xedit'), 'type' => 'select', 'source' => Quota::getAllQuota(), 'placement' => 'right', 'inputclass' => 'span3'), 'htmlOptions' => array('class' => 'span4'), 'headerHtmlOptions' => array('class' => 'span4')), array('class' => 'bootstrap.widgets.TbEditableColumn', 'name' => 'BudgetPlaces', 'editable' => array('url' => $this->createUrl('specialityquotes/xedit'), 'type' => 'text', 'placement' => 'right', 'inputclass' => 'span3'), 'htmlOptions' => array('class' => 'span2'), 'headerHtmlOptions' => array('class' => 'span2')), array('class' => 'bootstrap.widgets.TbButtonColumn'))));
Esempio n. 2
0
?>
      <?php 
echo $form->dropDownList($model, 'SpecialityID', Specialities::getAllSpecs(), array('class' => 'span12'));
?>
      <?php 
echo $form->error($model, 'SpecialityID');
?>
    </div>
  </div>
	<div class="row-fluid">
    <div class="span12">
      <?php 
echo $form->labelEx($model, 'QuotaID');
?>
      <?php 
echo $form->dropDownList($model, 'QuotaID', Quota::getAllQuota(), array('class' => 'span12'));
?>
      <?php 
echo $form->error($model, 'QuotaID');
?>
    </div>
  </div>
	<div class="row-fluid">
    <div class="span12">
      <?php 
echo $form->labelEx($model, 'BudgetPlaces');
?>
      <?php 
echo $form->textField($model, 'BudgetPlaces');
?>
      <?php