echo 'checked'; } ?> ><?php echo $flag['name']; ?> </label> <?php } ?> </td> <td><div class="help-block"></div></td> </tr> <?php echo $form->field($model, 'status')->dropDownList(CommonUtility::getStatus()); ?> <tr class="form-group field-content-title_pic"> <td class="hAlign_right padding_r10" > <label style="font-weight:normal;" for="content-title_pic">标题图片</label>:</td> <td> <div class="file-box"> <input type="text" id="content-title_pic" class="form-control" style="display: inline-block; width:500px; " name="Content[title_pic]" value="<?php echo $model['title_pic']; ?> " maxlength="128"> <input type='button' class='form-control' style="display: inline-block;width:60px;" value='浏览...' /> <input type="file" name="Content[title_pic]" class="form-control file" onchange="document.getElementById('content-title_pic').value=getPath(this);" /> </div> </td>