ref: master
plugins/open_graph/views/open_graph_plugin/myprofile/_heading.html.erb
<%= f.fields_for "#{context}_settings" do |ff| %> <%= ff.hidden_field klass.track_enabled_field, value: profile.send("#{context}_settings").send(klass.track_enabled_field), class: 'track-config-toggle' %> <% end %> <%= t("open_graph_plugin.views.track.config.#{track}.label") %>