Sha256: 8f9b04f49f518b1d40cabb048fc067a6b89fccab273ec5ecbfe88e96fdcd147f

Contents?: true

Size: 1.11 KB

Versions: 9

Compression:

Stored size: 1.11 KB

Contents

<% if collapsible? %>
  <div id="collapsible-list-<%= seed %>" class="collapsible-list is-filtered <%= list_size_class %> <%= list_class %>" data-toggler=".is-filtered">
    <% list.each do |element| %>
      <% if cell_name %>
        <%= cell cell_name, element, cell_options %>
      <% else %>
        <%= card_for element, cell_options %>
      <% end %>
    <% end %>
    <span class="card__text--paragraph collapsible-list__see-more">
      <%= t(hidden_elements_count_i18n_key, count: hidden_elements_count) %>
    </span>
    <span class="text-small">
      <span class="collapsible-list__see-more" data-toggle="collapsible-list-<%= seed %>"><%= t("decidim.collapsible_list.see_more") %></span>
      <span class="collapsible-list__see-less" data-toggle="collapsible-list-<%= seed %>"><%= t("decidim.collapsible_list.see_less") %></span>
    </span>
  </div>
<% else %>
  <div class="<%= list_class %>">
    <% list.each do |element| %>
      <% if cell_name %>
        <%= cell cell_name, element, cell_options %>
      <% else %>
        <%= card_for element, cell_options %>
      <% end %>
    <% end %>
  </div>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-core-0.27.9 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.27.8 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.27.7 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.27.6 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.26.10 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.26.9 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.27.5 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.26.8 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.27.4 app/cells/decidim/collapsible_list/show.erb