<div class="form-group" id="link_types"> <?php echo $form->labelEx($page, 'link_type'); ?> <?php echo $form->dropdownList($page, 'link_type', CustomPage::getLinkTypes(), array('class' => 'form-control', 'rows' => '5', 'placeholder' => Yii::t('CustomPagesModule.views_admin_edit', 'Link Type'))); ?> </div> <div class="form-group" id="widget_class"> <?php echo $form->labelEx($page, 'widget_class'); ?> <?php echo $form->dropdownList($page, 'widget_class', CustomPage::getWidgetClasses(), array('id' => 'widgetClassField', 'class' => 'form-control', 'rows' => '5', 'placeholder' => Yii::t('CustomPagesModule.views_admin_edit', 'Widget Target'))); ?> </div> <div class="form-group" id="widget_targets"> <?php echo $form->labelEx($page, 'widget_targets'); ?> <?php echo $form->textField($page, 'widget_targets', array('class' => 'form-control', 'id' => 'widgetTargets')); ?> <?php //$this->widget('application.modules_core.space.widgets.SpacePickerWidget', array( // 'inputId' => 'widgetTargets', // 'model' => $page, // 'maxSpaces' => 50,
<div class="panel-body"> <?php echo HHtml::link(Yii::t('CustomPagesModule.base', 'Create new Page'), $this->createUrl('edit'), array('class' => 'btn btn-primary')); ?> <p /> <p /> <?php if (count($pages) != 0) { ?> <?php $classes = CustomPage::getNavigationClasses(); $widgets = CustomPage::getWidgetClasses(); $types = CustomPage::getPageTypes(); ?> <table class="table"> <tr> <th><?php echo Yii::t('CustomPagesModule.base', 'Title'); ?> </th> <th><?php echo Yii::t('CustomPagesModule.base', 'Navigation'); ?> </th> <th><?php echo Yii::t('CustomPagesModule.base', 'Type'); ?>