Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php /** @var BootActiveForm $form */
- $form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
- 'id'=>'horizontalForm',
- 'type'=>'horizontal',
- )); ?>
- <table>
- <fieldset>
- <td><legend>Grupos</legend></td>
- <tr>
- <td><?php echo $form->textFieldRow($model, 'ds_name_grp',
- array('class'=>'form')); ?></td>
- </tr>
- <tr>
- <td><?php
- $perms = CHtml::listData(Permission::model()->scopeDeleted()->findAll(), 'cd_perm_per', 'ds_titulo_per');
- echo $form->checkBoxListRow($model, 'permission.cd_perm_per',$perms); ?>
- </td>
- </tr>
- </fieldset>
- <tr>
- <td>
- <div class="form-buttons">
- <?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'submit', 'type'=>'inverse', 'label'=>'Salvar')); ?>
- <?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'primary', 'label'=>'Voltar', 'url'=>Yii::app()->createUrl('/admin/user/index'),)); ?>
- </div>
- </td>
- </tr>
- <?php $this->endWidget(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement