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_tasks/edit.json.jbuilder

8 lines
356 B

6 years ago
json.partial! "public_navigation", locals: {course: @course, graduation: @task}
json.left_banner_id @left_banner_id
json.left_banner_name @left_banner_name
json.course_name @course.name
json.(@task, :task_type, :description)
json.attachments @task.attachments do |atta|
json.partial! "attachments/attachment_simple", locals: {attachment: atta}
end