Module: Card::Set::Abstract::SkinBox::HtmlFormat
- Extended by:
- Card::Set::AbstractFormat
- Defined in:
- platypus/tmp/set/gem-defaults/mod022-style/abstract/skin_box.rb
Instance Method Summary collapse
-
#select_button(target = parent.card) ⇒ Object
-
#view: box ⇒ Object
-
#view: box_bottom ⇒ Object
-
#view: box_middle ⇒ Object
-
#view: customize_button ⇒ Object
Instance Method Details
#select_button(target = parent.card) ⇒ Object
25 26 27 28 29 |
# File 'platypus/tmp/set/gem-defaults/mod022-style/abstract/skin_box.rb', line 25 def target=parent.card link_to_card target, "Apply", path: { action: :update, card: { content: "[[#{card.name}]]" } }, class: "btn btn-sm btn-primary" end |
#view: box ⇒ Object
9 10 11 12 13 |
# File 'platypus/tmp/set/gem-defaults/mod022-style/abstract/skin_box.rb', line 9 view :box, cache: :yes do class_up "box-middle", "p-0" voo.hide :customize_button, :box_middle super() end |
#view: box_bottom ⇒ Object
15 |
# File 'platypus/tmp/set/gem-defaults/mod022-style/abstract/skin_box.rb', line 15 view :box_bottom, template: :haml |
#view: box_middle ⇒ Object
21 22 23 |
# File 'platypus/tmp/set/gem-defaults/mod022-style/abstract/skin_box.rb', line 21 view :box_middle do field_nest :image, view: :full_width, size: :large if card.fetch :image end |
#view: customize_button ⇒ Object
17 18 19 |
# File 'platypus/tmp/set/gem-defaults/mod022-style/abstract/skin_box.rb', line 17 view :customize_button do "" end |