app/views/spina/admin/parts/repeaters/_form.html.haml in spina-2.0.0.alpha vs app/views/spina/admin/parts/repeaters/_form.html.haml in spina-2.0.0.beta

- old
+ new

@@ -5,14 +5,13 @@ %ul{data: {target: "repeater-form.list"}} - (f.object.content || []).each.with_index do |repeater_content, index| %li{class: ('active' if index.zero?), data: {part_id: repeater_content.object_id, target: "repeater-form.listItem"}} = link_to "#structure_form_pane_#{repeater_content.object_id}" do %i.icon.icon-bars.sortable-handle - = repeater_content.parts&.first&.content + %span= strip_tags(repeater_content.parts&.first&.content.to_s) %div{style: "margin-top: 6px; margin-left: 6px"} = link_to_add_repeater_fields f do = icon('plus') - .structure-form-content{data: {target: "repeater-form.content"}} = f.fields_for :content do |ff| - = render 'spina/admin/parts/repeaters/fields', f: ff + = render 'spina/admin/parts/repeaters/fields', f: ff \ No newline at end of file