Sha256: d388527462f6349903cd102b7357486aaf06975fcddfa5f23592bf5fe758c0c6

Contents?: true

Size: 496 Bytes

Versions: 13

Compression:

Stored size: 496 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

13 entries across 13 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/views/fields/_edit_custom_field_group.html.haml
fat_free_crm-0.22.0 app/views/fields/_edit_custom_field_group.html.haml
fat_free_crm-0.21.0 app/views/fields/_edit_custom_field_group.html.haml
fat_free_crm-0.20.1 app/views/fields/_edit_custom_field_group.html.haml
fat_free_crm-0.20.0 app/views/fields/_edit_custom_field_group.html.haml
fat_free_crm-0.19.2 app/views/fields/_edit_custom_field_group.html.haml
fat_free_crm-0.19.0 app/views/fields/_edit_custom_field_group.html.haml
fat_free_crm-0.18.2 app/views/fields/_edit_custom_field_group.html.haml
fat_free_crm-0.17.3 app/views/fields/_edit_custom_field_group.html.haml
fat_free_crm-0.18.1 app/views/fields/_edit_custom_field_group.html.haml
fat_free_crm-0.18.0 app/views/fields/_edit_custom_field_group.html.haml
fat_free_crm-0.17.2 app/views/fields/_edit_custom_field_group.html.haml
fat_free_crm-0.17.1 app/views/fields/_edit_custom_field_group.html.haml