Sha256: 60e55ea22bf24eebcfb4ba985a0ec4eea2d3ad55e209c51c388f7ff339914b15

Contents?: true

Size: 529 Bytes

Versions: 72

Compression:

Stored size: 529 Bytes

Contents

<%# there has got to be a hipster ruby way to do this better %>
<% if params[:f] %>
  <% params[:f].each do |k,v| %>
    <% v.each do |selected_facet| %>
      <% link_options = remove_facet_params(k, selected_facet, params).merge(action: :index) %>
      <div class="alert alert-warning">
        <%= link_to "X", hyrax.url_for(link_options), { class: "close", data: { dismiss: "alert" } } %>
        <i class="glyphicon glyphicon-ok"></i> <strong><%= selected_facet %></strong>
      </div>
    <% end %>
  <% end %>
<% end %>

Version data entries

72 entries across 72 versions & 2 rubygems

Version Path
hyrax-3.6.0 app/views/hyrax/my/_facet_selected.html.erb
hyrax-3.5.0 app/views/hyrax/my/_facet_selected.html.erb
hyrax-3.4.2 app/views/hyrax/my/_facet_selected.html.erb
hyrax-3.4.1 app/views/hyrax/my/_facet_selected.html.erb
hyrax-3.4.0 app/views/hyrax/my/_facet_selected.html.erb
hyrax-3.3.0 app/views/hyrax/my/_facet_selected.html.erb
hyrax-3.2.0 app/views/hyrax/my/_facet_selected.html.erb
hyrax-2.9.6 app/views/hyrax/my/_facet_selected.html.erb
hyrax-3.1.0 app/views/hyrax/my/_facet_selected.html.erb
hyrax-2.9.5 app/views/hyrax/my/_facet_selected.html.erb
hyrax-3.0.2 app/views/hyrax/my/_facet_selected.html.erb
hyrax-3.0.1 app/views/hyrax/my/_facet_selected.html.erb
hyrax-3.0.0 app/views/hyrax/my/_facet_selected.html.erb
hyrax-3.0.0.pre.rc4 app/views/hyrax/my/_facet_selected.html.erb
hyrax-2.9.4 app/views/hyrax/my/_facet_selected.html.erb
hyrax-3.0.0.pre.rc3 app/views/hyrax/my/_facet_selected.html.erb
hyrax-2.9.3 app/views/hyrax/my/_facet_selected.html.erb
hyrax-2.9.2 app/views/hyrax/my/_facet_selected.html.erb
hyrax-2.9.1 app/views/hyrax/my/_facet_selected.html.erb
hyrax-2.9.0 app/views/hyrax/my/_facet_selected.html.erb