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/graduation_works/new.json.jbuilder

12 lines
395 B

json.partial! "graduation_tasks/public_navigation", locals: {course: @course, graduation: @task}
json.task_type @task.task_type
json.user_name @user.real_name
if @task.task_type == 2
json.user_id @user.id
json.user_student_id @user.student_id
json.group_name @course.course_member(@user.id).try(:course_group_name)
json.max_num @task.max_num
json.min_num @task.min_num
end