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

18 lines
585 B

6 years ago
json.left_banner_id @left_banner_id
json.left_banner_name @left_banner_name
json.course_name @course.name
json.partial! 'new_or_edit_data', locals: {teachers: @teachers}
json.selected_data do
json.(@graduation_topic, :tea_id, :name, :topic_type, :topic_source, :topic_property_first,
:description, :topic_property_second, :status, :source_unit, :topic_repeat,
:province, :city, :is_public)
end
json.attachments do
json.array! @attachments do |attachment|
json.partial! "attachments/attachment_simple", locals: {attachment: attachment}
end
end