Files
2025-11-17 21:25:05 +01:00

16 lines
526 B
Plaintext

<%=
component_wrapper(data: wrapper_data_attributes) do
if @project_custom_field_sections.any?
flex_layout(classes: "dragula-container", data: { "allowed-drop-type": "section" }.merge(drop_target_config)) do |flex|
@project_custom_field_sections.each do |section|
flex.with_row(
data: draggable_item_config(section)
) do
render(row_component_class.new(project_custom_field_section: section, first_and_last:))
end
end
end
end
end
%>