render("_info",["model"=>$model]);?>
[
'view',
'id' => $model->primaryKey
],
'options' => [
'id' => 'control-form'
]
]);
?>
= $form->field($model, 'title')->textInput(['class' => 'form-control']); ?>
= $form->field($model, 'description')->textarea(['class' => 'form-control']); ?>
= Html::submitButton("更新附件", ['class' => 'btn bg-maroon margin btn-flat'])?>
= Html::a("编辑附件", ['update','id' => $model->primaryKey],['class' => 'btn bg-navy margin btn-flat'])?>
= Html::a("删除附件", ['delete','id' => $model->primaryKey], ['class' => 'btn btn-default margin btn-flat','data-item-id'=>$model->primaryKey,'data-confirm' => Yii::t('yii', 'Are you sure you want to delete this item?')])?>