Module: Card::Set::Abstract::CodeContent::HtmlFormat
- Extended by:
- Card::Set::AbstractFormat
- Defined in:
- platypus/tmp/set/gem-defaults/mod003-content/abstract/01_code_content.rb
Instance Method Summary collapse
-
#short_content ⇒ Object
-
#standard_submit_button ⇒ Object
-
#view: bar_middle ⇒ Object
-
#view: input ⇒ Object
Instance Method Details
#short_content ⇒ Object
18 19 20 21 |
# File 'platypus/tmp/set/gem-defaults/mod003-content/abstract/01_code_content.rb', line 18 def short_content icon_tag(:warning, class: "text-muted pe-2") + wrap_with(:span, "file", class: "text-muted") end |
#standard_submit_button ⇒ Object
23 24 25 |
# File 'platypus/tmp/set/gem-defaults/mod003-content/abstract/01_code_content.rb', line 23 def multi_card_editor? ? super : "" end |
#view: bar_middle ⇒ Object
14 15 16 |
# File 'platypus/tmp/set/gem-defaults/mod003-content/abstract/01_code_content.rb', line 14 view :bar_middle do short_content end |
#view: input ⇒ Object
9 10 11 12 |
# File 'platypus/tmp/set/gem-defaults/mod003-content/abstract/01_code_content.rb', line 9 view :input do # Localize "Content is stored in file and can't be edited." end |