1 <div
class=
"form span-12 first">
3 <?php
if ($model->scenario ===
'update'): ?>
9 <?php
$form = $this->beginWidget(
'CActiveForm'); ?>
12 <?php echo $form->labelEx($model,
'name'); ?>
13 <?php echo $form->textField($model,
'name', array(
'maxlength' => 255,
'class' =>
'text-field')); ?>
14 <?php echo $form->error($model,
'name'); ?>
15 <p
class=
"hint"><?php echo
Rights::t(
'core',
'Do not change the name unless you know what you are doing.'); ?></p>
19 <?php echo $form->labelEx($model,
'description'); ?>
20 <?php echo $form->textField($model,
'description', array(
'maxlength' => 255,
'class' =>
'text-field')); ?>
21 <?php echo $form->error($model,
'description'); ?>
22 <p
class=
"hint"><?php echo
Rights::t(
'core',
'A descriptive name for this item.'); ?></p>
28 <?php echo $form->labelEx($model,
'bizRule'); ?>
29 <?php echo $form->textArea($model,
'bizRule', array(
'class' =>
'text-field')); ?>
30 <?php echo $form->error($model,
'bizRule'); ?>
31 <p
class=
"hint"><?php echo
Rights::t(
'core',
'Code that will be executed when performing access checking.'); ?></p>
39 <?php echo $form->labelEx($model,
'data'); ?>
40 <?php echo $form->textField($model,
'data', array(
'maxlength' => 255,
'class' =>
'text-field')); ?>
41 <?php echo $form->error($model,
'data'); ?>
42 <p
class=
"hint"><?php echo
Rights::t(
'core',
'Additional data available when executing the business rule.'); ?></p>
47 <div
class=
"row buttons">
48 <?php echo CHtml::submitButton(
Rights::t(
'core',
'Save')); ?> | <?php echo CHtml::link(
Rights::t(
'core',
'Cancel'), Yii::app()->user->rightsReturnUrl); ?>
51 <?php $this->endWidget(); ?>