You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/app/views/exercises/students_exercises.json.jbu...

19 lines
993 B

json.total_counts @total_exercise_counts
json.total_user_exercises do
json.array! @all_exercise_stu_array do |a|
json.student_exercise do
json.partial! "exercises/user_exercise_info",locals:{exercise:@exercise,
is_teacher_or:a[:is_teacher],
ex_answerer:a[:ex_answerer],
exercise_user:a[:ex_user],
ex_obj_array:a[:ex_obj_array],
ex_sub_array:a[:ex_sub_array],
exercise_questions:@exercise_questions,
student_status:@student_status,
question_status:@question_status
}
end
end
end