<%# NOTE: Since this call can be called from outside decidim-meetings, frontend assets are required %> <%= apply_meetings_pack_tags %>

<%= single_component? ? translated_attribute(model.name) : t("decidim.components.meetings.name") %>

<%= meetings_count %>
<% if see_all_path.present? %> <%= link_to see_all_path, class: "button button__sm button__text-secondary" do %> <%= t("decidim.participatory_spaces.highlighted_meetings.see_all") %> <%= icon "arrow-right-line" %> <% end %> <% end %>
<% if show_map? %>
<%= cell "decidim/meetings/meetings_map", collection %>
<% end %>
<% if show_calendar? %>
<% calendar_months.each do |start_date| %> <%= cell "decidim/meetings/meeting_month", collection, start_date: %> <% end %>
<% end %>
<%= title %> <% collection.includes(:component).each do |meeting| %> <%= cell "decidim/meetings/meeting_l", meeting, title_tag: :h3, **options.slice(:show_space) %> <% end %>