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

15 lines
522 B

json.topic_type topic_type
json.topic_source topic_source
json.topic_property_first topic_property_first
json.topic_property_second topic_property_second
json.topic_repeat topic_repeat
json.selected_data do
json.(@bank, :name, :topic_type, :topic_source, :topic_property_first,
:description, :topic_property_second, :source_unit, :topic_repeat,
:province, :city, :is_public)
end
json.attachments @attachments do |attachment|
json.partial! "attachments/attachment_simple", locals: {attachment: attachment}
end