Sha256: 6f0f7cb04ce908bd201696dfe3cf2c478fcb2e20dec15126c3834440b7fab03b
Contents?: true
Size: 299 Bytes
Versions: 2
Compression:
Stored size: 299 Bytes
Contents
# frozen_string_literal: true module Wallaby module Resources module Index # Html cell class BelongsToHtml < 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/belongs_to_html.rb |
wallaby-6.0.1 | app/views/wallaby/resources/index/belongs_to_html.rb |