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/courses/add_teacher_popup.json.jbui...

13 lines
339 B

json.school_name @school_name
json.graduation_groups do
json.array! @graduation_groups do |graduation_group|
json.id graduation_group.id
json.name graduation_group.name
end
end
json.course_groups do
json.array! @course_groups do |course_group|
json.id course_group.id
json.name course_group.name
end
end