Sha256: 8decc20be64cb3f22cb7558668f8e763acfe14e66eeacc270af0cce405ba57dc

Contents?: true

Size: 929 Bytes

Versions: 20

Compression:

Stored size: 929 Bytes

Contents

<%# This view is overridden to change the alt attribute to be a title in the link_to below in order to conform to the HTML5 validity standard.  This should ultimately be fixed in Blacklight.  -%>
<%- # local params:
    # label
    # value
    # options =>
    #   :remove => url for a remove constraint link
    #   :classes => array of classes to add to container span
    options ||= {}
    options[:escape_label] = true unless options.has_key?(:escape_label)
    options[:escape_value] = true unless options.has_key?(:escape_value)
-%>

<span class="appliedFilter constraint <%= options[:classes].join(" ") if options[:classes] %>">
      <%- unless label.blank? -%>
        <span class="filterName"><%= options[:escape_label] ? h(label) : label %>:</span>
      <%- end -%>
      <%- unless value.blank? -%>
        <span class="filterValue"><%= options[:escape_value] ? h(value) : value %></span>
      <%- end -%>
</span>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
curate-0.6.6 app/views/catalog/_constraints_element.html.erb
curate-0.6.5 app/views/catalog/_constraints_element.html.erb
curate-0.6.4 app/views/catalog/_constraints_element.html.erb
curate-0.6.3 app/views/catalog/_constraints_element.html.erb
curate-0.6.1 app/views/catalog/_constraints_element.html.erb
curate-0.6.0 app/views/catalog/_constraints_element.html.erb
curate-0.5.6 app/views/catalog/_constraints_element.html.erb
curate-0.5.5 app/views/catalog/_constraints_element.html.erb
curate-0.5.4 app/views/catalog/_constraints_element.html.erb
curate-0.5.2 app/views/catalog/_constraints_element.html.erb
curate-0.5.1 app/views/catalog/_constraints_element.html.erb
curate-0.5.0 app/views/catalog/_constraints_element.html.erb
curate-0.4.2 app/views/catalog/_constraints_element.html.erb
curate-0.3.2 app/views/catalog/_constraints_element.html.erb
curate-0.3.1 app/views/catalog/_constraints_element.html.erb
curate-0.2.0 app/views/catalog/_constraints_element.html.erb
curate-0.1.3 app/views/catalog/_constraints_element.html.erb
curate-0.1.2 app/views/catalog/_constraints_element.html.erb
curate-0.1.1 app/views/catalog/_constraints_element.html.erb
curate-0.1.0 app/views/catalog/_constraints_element.html.erb