echo $form->field($model, 'seo_keywords')->textInput(['maxlength' => 255]); ?> <?php echo $form->field($model, 'seo_description')->textInput(['maxlength' => 1022]); ?> <?php echo $form->field($model, 'banner', ['template' => "{label}\n<div class=\"col-lg-3\">{input}</div>\n"])->textInput(['maxlength' => 255]); ?> <?php echo $form->field($model, 'file', ['template' => "<div class=\"col-lg-offset-1 col-lg-3\">{input}</div>\n<div class=\"col-lg-8\">{error}</div>"])->fileInput(); ?> <?php echo $form->field($model, 'is_nav')->dropDownList(F::getYesNo()); ?> <?php echo $form->field($model, 'sort_order')->textInput(['maxlength' => 10]); ?> <?php echo $form->field($model, 'page_type')->dropDownList(F::getPageType()); ?> <?php echo $form->field($model, 'page_size')->textInput(); ?> <?php
?> </td> <td><?php echo $item['str_label']; ?> </td> <td><?php echo $item['sort_order']; ?> </td> <td><?php echo F::getPageType($item['page_type']); ?> </td> <td><?php echo F::getYesNo($item['is_nav']); ?> </td> <td><?php echo F::getStatus2($item['status']); ?> </td> <td> <a href="<?php echo \Yii::$app->getUrlManager()->createUrl(['catalog/create', 'parent_id' => $item['id']]); ?> " title="增加子栏目" data-pjax="0"><span class="glyphicon glyphicon-plus-sign"></span></a> <a href="<?php echo \Yii::$app->getUrlManager()->createUrl(['catalog/view', 'id' => $item['id']]); ?> "" title="查看" data-pjax="0"><span class="glyphicon glyphicon-eye-open"></span></a>