예제 #1
0
            		    <?php 
echo $form->field($model, 'sub_title', $filedOptions)->textInput(['maxlength' => 256, 'placeholder' => '请输入副标题']);
?>
            		    <?php 
echo $form->field($model, 'url_alias', $filedOptions)->textInput(['maxlength' => 256, 'placeholder' => 'Url 地址']);
?>
            		    <?php 
echo $form->field($model, 'redirect_url', $filedOptions)->textInput(['maxlength' => 256]);
?>
            		
            		    <?php 
echo $form->field($bodyModel, 'body', ['size' => 'large'])->textarea(['rows' => 22]);
?>
	
            		    <?php 
echo KindEditor::widget(['inputId' => '#' . Html::getInputId($bodyModel, 'body')]);
?>
            		    
            		    
            		    <?php 
echo $form->field($model, 'summary', $filedOptions)->textarea(['rows' => 6]);
?>
            		    
            		    <?php 
echo $form->field($model, 'thumb')->fileInput(['class' => 'da-custom-file']);
?>
            		   
            			  
                    </div>
                </div>
            </div>
예제 #2
0
파일: basic.php 프로젝트: ruzuojun/lulucms2
echo $form->field($model, 'sys_site_name');
?>
    <?php 
echo $form->field($model, 'sys_site_description');
?>
    <?php 
echo $form->field($model, 'sys_site_email');
?>
    <?php 
echo $form->field($model, 'sys_lang')->dropDownList(['zh-CN' => '中文', 'en-US' => '英文']);
?>
    <?php 
echo $form->field($model, 'sys_icp');
?>
    <?php 
echo $form->field($model, 'sys_stat')->textarea(['rows' => 5]);
?>
    <?php 
echo $form->field($model, 'sys_site_about', ['size' => 'default'])->textarea(['rows' => 5]);
?>
    <?php 
echo $form->field($model, 'sys_status')->radioList(['1' => '正常', '0' => '关闭']);
?>
    <?php 
echo KindEditor::widget(['inputId' => '#basicconfig-sys_site_about']);
?>
    <?php 
echo $form->defaultButtons();
ActiveForm::end();
?>