app/renderers/hyrax/renderers/attribute_renderer.rb
# Draw the dl row for the attribute
Draw the dl row for the attribute
Draw the dl row for the attribute
def render_dl_row
        markup = ''
        return markup if values.blank? && !options[:include_empty]
        markup << %(<dt>#{label}</dt>\n<dd><ul class='tabular'>)
        attributes = microdata_object_attributes(field).merge(class: "attribute attribute-#{field}")
        Array(values).each do |value|
          markup << "<li#{html_attributes(attributes)}>#{attribute_value_to_html(value.to_s)}</li>"
        end
        markup << %(</ul></dd>)
        markup.html_safe
      end
def render_dl_row markup = '' return markup if values . blank? && ! options [ :include_empty ] markup << %(<dt>#{label}</dt>\n<dd><ul class='tabular'>) attributes = microdata_object_attributes ( field ) . merge ( class : "attribute attribute-#{field}" ) Array ( values ) . each do | value | markup << "<li#{html_attributes(attributes)}>#{attribute_value_to_html(value.to_s)}</li>" end markup << %(</ul></dd>) markup . html_safe end
Draw the dl row for the attribute
Draw the dl row for the attribute