Module: Card::Set::Abstract::ReadOnly::HtmlFormat
- Extended by:
- Card::Set::AbstractFormat
- Defined in:
- platypus/tmp/set/gem-defaults/mod003-content/abstract/read_only.rb
Instance Method Summary collapse
Instance Method Details
#short_content ⇒ Object
13 14 15 16 |
# File 'platypus/tmp/set/gem-defaults/mod003-content/abstract/read_only.rb', line 13 def short_content icon_tag(:warning, class: "text-muted pe-2") + wrap_with(:span, "read-only", class: "text-muted") end |
#standard_submit_button ⇒ Object
18 19 20 |
# File 'platypus/tmp/set/gem-defaults/mod003-content/abstract/read_only.rb', line 18 def multi_card_editor? ? super : "" end |
#view: input ⇒ Object
9 10 11 |
# File 'platypus/tmp/set/gem-defaults/mod003-content/abstract/read_only.rb', line 9 view :input do "Content can't be edited." end |