json.partial! "graduation_tasks/public_navigation", locals: {course: @course, graduation: @task} json.task_type @task.task_type json.work_id @work.id json.description @work.description json.user_name @task_user.real_name json.attachments @work.attachments do |atta| json.partial! "attachments/attachment_simple", locals: {attachment: atta, delete: @work.delete_atta(atta)} end json.members @work_members do |member| json.user_id member.user_id json.user_name member.user.real_name json.group_name member.course_group_name json.student_id member.user.student_id end