Sha256: 4541bb94eda8c6e6ff2c8f73b85fb0b8acb4eb884fa1093ed7eaea5725b677ea
Contents?: true
Size: 413 Bytes
Versions: 12
Compression:
Stored size: 413 Bytes
Contents
<%# @param object [model] model instance %> <%# @param field_name [String] name of the field %> <%# @param value [Object] value of the field %> <%# @param metadata [Hash] metadata of the field %> <%= if value.nil? null else max = metadata[:max] || max_text_length value = value.to_s if value.length > max concat content_tag(:span, value.truncate(max)) itooltip value else value end end %>
Version data entries
12 entries across 4 versions & 1 rubygems