9 <?php
$form = $this->beginWidget(
'CActiveForm', array(
10 'id' =>
'account-types-limits-form',
15 'enableAjaxValidation' =>
false,
18 <p
class=
"note"><?php echo Yii::t(
'app',
'Fields with') ?> <span
class=
"required">*</span> <?php echo Yii::t(
'app',
'are required.') ?></p>
20 <?php echo
$form->errorSummary($model); ?>
23 <?php echo
$form->labelEx($model,
'AccountTypeId'); ?>
28 echo
$form->dropDownList($model,
'AccountTypeId',
30 array(
'disabled' => isset($update))
33 <?php echo
$form->error($model,
'AccountTypeId'); ?>
37 <?php echo
$form->labelEx($model,
'LimitsKey'); ?>
39 echo
$form->textField($model,
'LimitsKey', array(
42 'disabled' => isset($update),
44 <?php echo
$form->error($model,
'LimitsKey'); ?>
48 <?php echo
$form->labelEx($model,
'LimitsList'); ?>
49 <?php echo
$form->textArea($model,
'LimitsList', array(
'rows' => 8,
'cols' => 60)); ?>
50 <?php echo
$form->error($model,
'LimitsList'); ?>
53 <div
class=
"row buttons">
54 <?php echo CHtml::submitButton($model->isNewRecord ? Yii::t(
'app',
'Create') : Yii::t(
'app',
'Save')); ?>
57 <?php $this->endWidget(); ?>