Class: Wallaby::Resources::Index::BooleanHtml
- Inherits:
-
Cell
- Object
- Cell
- Wallaby::Resources::Index::BooleanHtml
- Defined in:
- app/views/wallaby/resources/index/boolean_html.rb
Overview
Html cell
Instance Method Summary collapse
Instance Method Details
#render ⇒ String
9 10 11 12 13 14 15 |
# File 'app/views/wallaby/resources/index/boolean_html.rb', line 9 def render if value.nil? null else value ? fa_icon('check-square') : fa_icon('square') end end |