Sha256: ffd1ab08a4120c86de55cd6656388222631796915606332857a36ce8e6f71f16

Contents?: true

Size: 1.13 KB

Versions: 37

Compression:

Stored size: 1.13 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="collapsible-list <%= 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

37 entries across 37 versions & 1 rubygems

Version Path
decidim-core-0.27.3 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.26.7 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.26.5 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.27.2 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.27.1 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.26.4 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.27.0 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.26.3 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.27.0.rc2 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.27.0.rc1 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.26.2 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.26.1 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.26.0 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.26.0.rc2 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.26.0.rc1 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.25.2 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.25.1 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.25.0 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.25.0.rc4 app/cells/decidim/collapsible_list/show.erb
decidim-core-0.25.0.rc3 app/cells/decidim/collapsible_list/show.erb