Sha256: 7760655aa89008c04638e050d5e89bc795b7edcc36904277d22ca98bb35e9fbc

Contents?: true

Size: 529 Bytes

Versions: 39

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", sufia.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

39 entries across 39 versions & 1 rubygems

Version Path
sufia-6.4.0 app/views/my/_facet_selected.html.erb
sufia-6.3.0 app/views/my/_facet_selected.html.erb
sufia-6.2.0 app/views/my/_facet_selected.html.erb
sufia-6.1.0 app/views/my/_facet_selected.html.erb
sufia-5.0.0 app/views/my/_facet_selected.html.erb
sufia-6.0.0 app/views/my/_facet_selected.html.erb
sufia-6.0.0.rc4 app/views/my/_facet_selected.html.erb
sufia-6.0.0.rc3 app/views/my/_facet_selected.html.erb
sufia-5.0.0.rc1 app/views/my/_facet_selected.html.erb
sufia-6.0.0.rc2 app/views/my/_facet_selected.html.erb
sufia-6.0.0.rc1 app/views/my/_facet_selected.html.erb
sufia-4.3.1 app/views/my/_facet_selected.html.erb
sufia-6.0.0.beta1 app/views/my/_facet_selected.html.erb
sufia-4.2.0 app/views/my/_facet_selected.html.erb
sufia-4.1.0 app/views/my/_facet_selected.html.erb
sufia-4.0.1 app/views/my/_facet_selected.html.erb
sufia-4.0.0 app/views/my/_facet_selected.html.erb
sufia-4.0.0.rc2 app/views/my/_facet_selected.html.erb
sufia-4.0.0.rc1 app/views/my/_facet_selected.html.erb