Module: Card::Set::TypePlusRight::Set::Style::HtmlFormat
- Extended by:
- AbstractFormat
- Defined in:
- platypus/tmp/set/gem-defaults/mod022-style/type_plus_right/set/style.rb
Constant Summary collapse
- HIDDEN_SKINS =
%w[bootstrap_default_skin themeless_bootstrap_skin bootstrap_default_skin classic_bootstrap_skin].freeze
Instance Method Summary collapse
-
#default_item_view ⇒ Object
-
#input_type ⇒ Object
-
#selectable_themes ⇒ Object
-
#themes ⇒ Object
view :input, template: :haml.
Instance Method Details
#default_item_view ⇒ Object
39 40 41 |
# File 'platypus/tmp/set/gem-defaults/mod022-style/type_plus_right/set/style.rb', line 39 def default_item_view :bar end |
#input_type ⇒ Object
35 36 37 |
# File 'platypus/tmp/set/gem-defaults/mod022-style/type_plus_right/set/style.rb', line 35 def input_type :box_select end |
#selectable_themes ⇒ Object
49 50 51 52 53 54 |
# File 'platypus/tmp/set/gem-defaults/mod022-style/type_plus_right/set/style.rb', line 49 def selectable_themes themes.reject do |theme_card| theme_card.right&.codename == :stylesheets || theme_card.key.in?(HIDDEN_SKINS) end end |
#themes ⇒ Object
view :input, template: :haml
45 46 47 |
# File 'platypus/tmp/set/gem-defaults/mod022-style/type_plus_right/set/style.rb', line 45 def themes card.rule_card(:content_options).item_cards end |