Sha256: 3c9907eda29f8917b39c256071fb61c7f1090efa4be5b1ed75371c05e142230e
Contents?: true
Size: 699 Bytes
Versions: 9
Compression:
Stored size: 699 Bytes
Contents
<%= filter_form_for filter, url_for, data: { filters: "", component: "accordion" } do |form| %> <%= form.collection_radio_buttons( :addition_type, filter_addition_type_values, :first, :last ) do |builder| added_count = search.result.with_order(current_order).size unless builder.value == "all" builder.label(class: "button button__xs button__pill #{filter.addition_type == builder.value ? 'button__pill--active' : ''}") do %> <span> <%= builder.text %> </span> <%= render partial: "projects_count", locals: { count: added_count } %> <%= builder.radio_button(class: "!hidden") %> <% end %> <% end %> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems