Sha256: 6167579df0bd64869597330a7a2871d26d715662dde4d66a1d4c62ce47e56f32

Contents?: true

Size: 483 Bytes

Versions: 13

Compression:

Stored size: 483 Bytes

Contents

<% if conference.partners.any? %>
  <% conference.partners.group_by(&:partner_type).each do |partner_type, partners| %>
    <section id="conference-partners-<%= partner_type %>" class="content-block">
      <h2 class="h2 decorator"><%= t(".#{partner_type.pluralize}") %></h2>
      <div class="conference__grid">
        <% partners.each do |partner| %>
          <%= cell "decidim/conferences/partner", partner %>
        <% end %>
      </div>
    </section>
  <% end %>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-conferences-0.29.1 app/views/decidim/conferences/conferences/_partners.html.erb
decidim-conferences-0.28.4 app/views/decidim/conferences/conferences/_partners.html.erb
decidim-conferences-0.29.0 app/views/decidim/conferences/conferences/_partners.html.erb
decidim-conferences-0.28.3 app/views/decidim/conferences/conferences/_partners.html.erb
decidim-conferences-0.29.0.rc4 app/views/decidim/conferences/conferences/_partners.html.erb
decidim-conferences-0.29.0.rc3 app/views/decidim/conferences/conferences/_partners.html.erb
decidim-conferences-0.29.0.rc2 app/views/decidim/conferences/conferences/_partners.html.erb
decidim-conferences-0.29.0.rc1 app/views/decidim/conferences/conferences/_partners.html.erb
decidim-conferences-0.28.2 app/views/decidim/conferences/conferences/_partners.html.erb
decidim-conferences-0.28.1 app/views/decidim/conferences/conferences/_partners.html.erb
decidim-conferences-0.28.0 app/views/decidim/conferences/conferences/_partners.html.erb
decidim-conferences-0.28.0.rc5 app/views/decidim/conferences/conferences/_partners.html.erb
decidim-conferences-0.28.0.rc4 app/views/decidim/conferences/conferences/_partners.html.erb