<?php echo $form->checkBox($page, 'widget_template'); ?> <?php echo $page->getAttributeLabel('widget_template'); ?> </label> </div> </div> <div class="form-group" id="navigation_class"> <?php echo $form->labelEx($page, 'navigation_class'); ?> <?php echo $form->dropdownList($page, 'navigation_class', CustomPage::getNavigationClasses(), array('class' => 'form-control', 'rows' => '5', 'placeholder' => Yii::t('CustomPagesModule.views_admin_edit', 'Target'))); ?> </div> <div class="form-group"> <?php echo $form->labelEx($page, 'sort_order'); ?> <?php echo $form->textField($page, 'sort_order', array('class' => 'form-control', 'placeholder' => Yii::t('CustomPagesModule.views_admin_edit', 'Sort Order'))); ?> <p class="help-block"><?php echo Yii::t('CustomPagesModule.views_admin_edit', 'Default sort orders scheme: 100, 200, 300, ...'); ?> </p> </div>
</div> <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(); $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'); ?>