?> </div> <?php } ?> <div class="simple"> <?php echo SHtml::activeLabelEx($model, 'bizrule'); ?> <?php echo SHtml::activeTextArea($model, 'bizrule', $model->name == Helper::findModule('srbac')->superUser ? array('rows' => 3, 'cols' => 20, 'disabled' => 'disabled') : array('rows' => 3, 'cols' => 20)); ?> </div> <div class="simple"> <?php echo SHtml::activeLabelEx($model, 'data'); ?> <?php echo SHtml::activeTextField($model, 'data', $model->name == Helper::findModule('srbac')->superUser ? array('disabled' => 'disabled', 'size' => 30) : array('size' => 30)); ?> </div> <?php echo SHtml::hiddenField("oldName", $model->name); ?> <div class="action"> <?php echo SHtml::ajaxSubmitButton($update ? Helper::translate('srbac', 'Save') : Helper::translate('srbac', 'Create'), $update ? array('update', 'id' => $model->name) : array('create'), array('type' => 'POST', 'update' => '#preview'), array('name' => 'saveButton2')); ?> </div> <div id="mess" class="message" style="visibility:hidden"> $message