<div class="form-group pull-right"> <?php echo Html::submitButton('<i class="glyphicon glyphicon-ok"></i> บันทึกข้อมูล', ['class' => 'btn btn-danger']); ?> <?php echo Html::resetButton('<i class="glyphicon glyphicon-remove"></i> ยกเลิก', ['class' => 'btn']); ?> </div> </div> </div> <br/> <div class="dashboard_box" style="padding-top: 15px;"> <div class="row"> <div class="col-lg-12"> <?php echo $form->field($model, 'amphur')->dropDownList(\app\models\TblAmphur::makeDropDown(), ['style' => 'margin-right: 10px; width: 250px;']); ?> <?php echo $form->field($model, 'title')->input('text', ['style' => 'width: 500px;']); ?> <div class="form-group required" style="padding-left: 0px; padding-right: 0px;"> <label>คำอธิบายหมวดหมู่</label> <?php echo $form->field($model, 'description')->widget(CKEditor::className(), ['options' => ['rows' => 5], 'preset' => 'standard']); ?> <div class="help-block"></div> </div> <?php echo $form->field($model, 'id', ['options' => ['class' => 'sr-only']])->hiddenInput(); ?> <?php
?> <div class="help-block"></div> </div> <?php echo $form->field($model, 'id', ['options' => ['class' => 'sr-only']])->hiddenInput(); ?> <?php echo $form->field($model, 'cid', ['options' => ['class' => 'sr-only']])->hiddenInput(); ?> <?php echo $form->field($model, 'langs', ['options' => ['class' => 'sr-only']])->hiddenInput(); ?> </div> <div class="col-lg-4"> <?php echo $form->field($model, 'amphur')->dropDownList(\app\models\TblAmphur::makeDropDown()); ?> <?php echo $form->field($model, 'address')->input('text'); ?> <?php echo $form->field($model, 'contacts')->input('text'); ?> <?php echo $form->field($model, 'phone')->input('text'); ?> <?php echo $form->field($model, 'fax')->input('text'); ?> <?php echo $form->field($model, 'emails')->input('text');