Sha256: f6f16a1602e410698313fae13fae630c2ce8c006ec05d27a89485a8ee8f7eac6
Contents?: true
Size: 296 Bytes
Versions: 2
Compression:
Stored size: 296 Bytes
Contents
# frozen_string_literal: true module Wallaby module Resources module Index # Html cell class HasOneHtml < Cell # @return [String] def render value.present? ? show_link(value, options: { readonly: true }) : null end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wallaby-6.0.2 | app/views/wallaby/resources/index/has_one_html.rb |
wallaby-6.0.1 | app/views/wallaby/resources/index/has_one_html.rb |