Sha256: 77bd27a5037d4dcf81df2b3865b3bb032ac6e6b59a6ed3622650e6b3120bab4c
Contents?: true
Size: 709 Bytes
Versions: 25
Compression:
Stored size: 709 Bytes
Contents
<h4><%= t('activerecord.attributes.reserve.state') -%></h4> <%- unless @state_facet.blank? -%> <ul> <% @state_facet.each do |state| %> <li> <% if state.value == params[:state].to_s.downcase %><strong><% end %> <%= link_to "#{i18n_state(state.value)} (#{state.count})", url_for(params.merge(:state => state.value, :page => nil, :view => nil, :only_path => true)) %> <% if state.value == params[:state].to_s.downcase %></strong><% end %> </li> <% end %> <%- if params[:state] -%> <li><%= link_to t('page.remove_this_facet'), url_for(params.merge(:state => nil, :page => nil, :view => nil, :only_path => true)) -%></li> <%- end -%> </ul> <%- end -%>
Version data entries
25 entries across 25 versions & 1 rubygems