Sha256: 6825f7be5f9ff1879cce6847d5a261a34c739f7321de83e799173f3e17ed3eb2
Contents?: true
Size: 518 Bytes
Versions: 11
Compression:
Stored size: 518 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="fa fa-check"></i> <strong><%= selected_facet %></strong> </div> <% end %> <% end %> <% end %>
Version data entries
11 entries across 11 versions & 1 rubygems