|
|
|
@ -4,11 +4,11 @@ json.partial! "homework_btn_check", locals: {identity: @user_course_identity, ho
|
|
|
|
|
|
|
|
|
|
json.partial! "student_btn_check", locals: {identity: @user_course_identity, homework: @homework, work: @work}
|
|
|
|
|
|
|
|
|
|
json.description @homework.description
|
|
|
|
|
|
|
|
|
|
# 实训作业才有说明
|
|
|
|
|
if @homework.homework_type == "practice"
|
|
|
|
|
json.explanation @homework.explanation
|
|
|
|
|
else
|
|
|
|
|
json.description @homework.description
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# 附件
|
|
|
|
|