Sha256: 5f93957035de27acf8c2c700590871bbf742fca782a4be7298134a1c2c553108

Contents?: true

Size: 714 Bytes

Versions: 6

Compression:

Stored size: 714 Bytes

Contents

<h4><%= t('manifestation.reservable') -%></h4>
<ul>
  <%- @reservable_facet.each do |facet| -%>
    <% facet.value ? facet_reservable = true : facet_reservable = false %>
    <li>
      <%- if @reservable == facet_reservable -%><strong><%- end -%>
      <%= link_to "#{localized_boolean(facet.value)} (#{facet.count})", url_for(request.params.merge(page: nil, reservable: facet.value.to_s, view: nil, only_path: true)) -%>
      <%- if @reservable == facet_reservable -%></strong><%- end -%>
    </li>
  <%- end -%>
  <%- unless @reservable.nil? -%>
    <li><%= link_to t('page.remove_this_facet'), url_for(request.params.merge(reservable: nil, page: nil, view: nil, only_path: true)) -%></li>
  <%- end -%>
</ul>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
enju_biblio-0.3.18 app/views/manifestations/_reservable_facet.html.erb
enju_biblio-0.3.17 app/views/manifestations/_reservable_facet.html.erb
enju_biblio-0.3.16 app/views/manifestations/_reservable_facet.html.erb
enju_biblio-0.3.15 app/views/manifestations/_reservable_facet.html.erb
enju_biblio-0.3.14 app/views/manifestations/_reservable_facet.html.erb
enju_biblio-0.3.13 app/views/manifestations/_reservable_facet.html.erb