Sha256: eb8d50675dd41a874c7414e9e0e9ca5a9a377a88d62507051ac5ae0d077bf6c0
Contents?: true
Size: 511 Bytes
Versions: 26
Compression:
Stored size: 511 Bytes
Contents
= hook(:custom_field_top_section, self, :f => f) do -# produce inputs for custom fields that do not belong to a particular field group -# i.e. they belong to the 'custom_fields' group - f.object.field_groups.select{|fg| fg.name == 'custom_fields'}.each do |field_group| - if field_group.fields.present? - field_groups[field_group.tag.name.downcase] = "#{field_group.key}_container" if field_group.tag = render :partial => 'fields/group', :locals => {:f => f, :field_group => field_group}
Version data entries
26 entries across 26 versions & 2 rubygems