<% single_line = !line.subtitle && !line.body primary_text_class = single_line ? '' : 'mdc-list-item__primary-text' %> <% if line.menu %>
<% end %>
  • <%= drop_zone_attributes(line) %> <%= partial "components/event", :locals => {comp: line, events: line.events, parent_id: line.event_parent_id} if line.events&.any? %>> <%= partial "components/list/hidden_field", :locals => {:line => line} if line.hidden_field %> <%= partial "components/list/checkbox", :locals => {:line => line} if line.checkbox %> <%= partial "components/list/icon", :locals => {:line => line} if line.icon %> <%= partial "components/list/avatar", :locals => {:line => line} if line.avatar %> <% if line.text %> <%= expand_text(line.text&.text, markdown: line.text&.markdown) %> <% end %> <% if line.subtitle %> <%= expand_text(line.subtitle&.text, markdown: line.subtitle&.markdown) %> <% end %> <% if line.body %> <%= expand_text(line.body&.text, markdown: line.body&.markdown) %> <% end %> <%= partial "components/list/actions", :locals => {:line => line} if line.actions.any? || line.info %>
  • <% if line.menu %> <%= partial "components/list/menu", :locals => {:comp => line.menu} %>
    <%end%> <%= partial "components/tooltip", :locals => {comp: line.tooltip, parent_id: line.id} if line.tooltip %> <%= partial "components/render", :locals => {:components => line.components, :scope => nil} if line.components.any? %>