HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
_form.php
Go to the documentation of this file.
1 <?php
2 /* @var $this AccountTypesController */
3 /* @var $model AccountTypes */
4 /* @var $form CActiveForm */
5 ?>
6 
7 <div class="form">
8 
9 <?php $form = $this->beginWidget('CActiveForm', array(
10  'id' => 'account-types-form',
11  // Please note: When you enable ajax validation, make sure the corresponding
12  // controller action is handling ajax validation correctly.
13  // There is a call to performAjaxValidation() commented in generated controller code.
14  // See class documentation of CActiveForm for details on this.
15  'enableAjaxValidation' => false,
16 )); ?>
17 
18  <p class="note"><?php echo Yii::t('app', 'Fields with') ?> <span class="required">*</span> <?php echo Yii::t('app', 'are required.') ?></p>
19 
20  <?php echo $form->errorSummary($model); ?>
21 
22  <div class="row">
23  <?php echo $form->labelEx($model, 'Type'); ?>
24  <?php echo $form->textField($model, 'Type', array('size' => 60, 'maxlength' => 150)); ?>
25  <?php echo $form->error($model, 'Type'); ?>
26  </div>
27 
28  <div class="row buttons">
29  <?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
30  </div>
31 
32 <?php $this->endWidget(); ?>
33 
34 </div><!-- form -->