<% if comp %>
data-accept="<%= comp.accept %>" <% if comp.dirtyable %>data-dirtyable<% end %> <%= partial "components/event", :locals => {comp: comp, events: comp.events, parent_id: comp.id} if comp.events&.any? %>> disabled<% end %> > <%= partial "components/render", :locals => {:components => comp.components, :scope => nil} if comp.components.any? %>
<% end %>