Sha256: 9840d74ee614558640981e3babee47132200a6ff46f9fd69e659b35d25182a08

Contents?: true

Size: 270 Bytes

Versions: 4

Compression:

Stored size: 270 Bytes

Contents

- partial = "#{collection.to_s.singularize}_fields"
= field_set section_name do
  = f.fields_for collection do |builder|
    = render 'admin/common/nested_fields_for_element',  builder: builder, partial: partial
  = link_to_add_fields('Добавить', f, collection)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
coalla-cms-0.4.2.0 app/views/admin/common/_nested_fields_for.html.haml
coalla-cms-0.4.4.3 app/views/admin/common/_nested_fields_for.html.haml
coalla-cms-0.5.1.9 app/views/admin/common/_nested_fields_for.html.haml
coalla-cms-0.5.1.8 app/views/admin/common/_nested_fields_for.html.haml