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 SiteController */
3 /* @var $model Site */
4 /* @var $form CActiveForm */
5 ?>
6 
7 <div class="form">
8 
9 <?php $form=$this->beginWidget('CActiveForm', array(
10  'id'=>'site-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">Fields with <span class="required">*</span> are required.</p>
19 
20  <?php echo $form->errorSummary($model); ?>
21 
22  <div class="row">
23  <?php echo $form->labelEx($model,'id'); ?>
24  <?php echo $form->textField($model,'id'); ?>
25  <?php echo $form->error($model,'id'); ?>
26  </div>
27 
28  <div class="row">
29  <?php echo $form->labelEx($model,'di'); ?>
30  <?php echo $form->textField($model,'di'); ?>
31  <?php echo $form->error($model,'di'); ?>
32  </div>
33 
34  <div class="row">
35  <?php echo $form->labelEx($model,'ii'); ?>
36  <?php echo $form->textField($model,'ii'); ?>
37  <?php echo $form->error($model,'ii'); ?>
38  </div>
39 
40  <div class="row">
41  <?php echo $form->labelEx($model,'did'); ?>
42  <?php echo $form->textField($model,'did'); ?>
43  <?php echo $form->error($model,'did'); ?>
44  </div>
45 
46  <div class="row buttons">
47  <?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
48  </div>
49 
50 <?php $this->endWidget(); ?>
51 
52 </div><!-- form -->