Sha256: 3f8dece9490399ffe8e4e023d96b108cfe7eabb5cc856c58d4b4b75b1f671849

Contents?: true

Size: 350 Bytes

Versions: 33

Compression:

Stored size: 350 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
  concat content_tag(:span, value.first, class: 'from')
  concat '...'
  content_tag(:span, value.last, class: 'to')
end %>

Version data entries

33 entries across 11 versions & 1 rubygems

Version Path
wallaby-8.0.0 app/views/wallaby/resources/index/_int4range.html.erb
wallaby-8.0.0 app/views/wallaby/resources/index/_int8range.html.erb
wallaby-8.0.0 app/views/wallaby/resources/index/_numrange.html.erb
wallaby-7.0.0 app/views/wallaby/resources/index/_int4range.html.erb
wallaby-7.0.0 app/views/wallaby/resources/index/_numrange.html.erb
wallaby-7.0.0 app/views/wallaby/resources/index/_int8range.html.erb
wallaby-7.0.0.beta2 app/views/wallaby/resources/index/_int4range.html.erb
wallaby-7.0.0.beta2 app/views/wallaby/resources/index/_int8range.html.erb
wallaby-7.0.0.beta2 app/views/wallaby/resources/index/_numrange.html.erb
wallaby-7.0.0.beta1 app/views/wallaby/resources/index/_numrange.html.erb
wallaby-7.0.0.beta1 app/views/wallaby/resources/index/_int8range.html.erb
wallaby-7.0.0.beta1 app/views/wallaby/resources/index/_int4range.html.erb
wallaby-6.1.6 app/views/wallaby/resources/index/_int4range.html.erb
wallaby-6.1.6 app/views/wallaby/resources/index/_numrange.html.erb
wallaby-6.1.6 app/views/wallaby/resources/index/_int8range.html.erb
wallaby-6.1.5 app/views/wallaby/resources/index/_int8range.html.erb
wallaby-6.1.5 app/views/wallaby/resources/index/_int4range.html.erb
wallaby-6.1.5 app/views/wallaby/resources/index/_numrange.html.erb
wallaby-6.1.4 app/views/wallaby/resources/index/_numrange.html.erb
wallaby-6.1.4 app/views/wallaby/resources/index/_int8range.html.erb