Sha256: 6446faad6bcb39decfd5cb49953ae1bf26e86adca5f21cb69cab2bff9519034f
Contents?: true
Size: 661 Bytes
Versions: 1
Compression:
Stored size: 661 Bytes
Contents
<%= content_tag :div, id: @id, class: @classes.join(' ') do %> <button type="button" class="btn btn-outline-secondary dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> <%= t(:button_label_html, default: :label_html, scope: "blacklight.search.#{@param}", @interpolation => label_for_value(@selected)) %> <span class="caret"></span> </button> <div class="dropdown-menu" role="menu"> <%- @choices.each do |option| %> <% text, value = option_text_and_value(option) %> <%= link_to(text, url_for(@search_state.params_for_search(@param => value)), class: 'dropdown-item', role: 'menuitem') %> <%- end -%> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blacklight-7.11.1 | app/components/blacklight/system/dropdown_component.html.erb |