Ruby Refinerycms页面图像引擎自定义字段
我正在使用和引擎的精炼厂CMS,我想为每个图像添加一个新的自定义字段(默认情况下有一个标题字段) 我已经运行了数据库迁移,因此在refinery\u image\u页面上有一个字段来保存该值,并编辑了refinery/admin/pages/tabs/\u image\u field.html.erb,类似这样显示该字段:Ruby Refinerycms页面图像引擎自定义字段,ruby,ruby-on-rails-3,refinerycms,Ruby,Ruby On Rails 3,Refinerycms,我正在使用和引擎的精炼厂CMS,我想为每个图像添加一个新的自定义字段(默认情况下有一个标题字段) 我已经运行了数据库迁移,因此在refinery\u image\u页面上有一个字段来保存该值,并编辑了refinery/admin/pages/tabs/\u image\u field.html.erb,类似这样显示该字段: <%= text_field_tag "#{f.object_name.demodulize}[images_attributes][#{index}][image_m
<%= text_field_tag "#{f.object_name.demodulize}[images_attributes][#{index}][image_margin_top]",