Module: Card::Set::Type::Set::HtmlViews::HtmlFormat

Extended by:
AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod010-rules/type/set/html_views.rb

Instance Method Summary collapse

Instance Method Details

#view: coreObject



13
14
15
16
17
18
# File 'platypus/tmp/set/gem-defaults/mod010-rules/type/set/html_views.rb', line 13

view :core, cache: :never do
  [
    (:h4, t("rules_header"), class: "mt-3"),
    filtered_rule_list(:accordion_bar_list)
  ]
end

#view: inputObject



24
25
26
# File 'platypus/tmp/set/gem-defaults/mod010-rules/type/set/html_views.rb', line 24

view :input do
  "Cannot currently edit Sets" # LOCALIZE
end

#view: one_line_contentObject



28
29
30
# File 'platypus/tmp/set/gem-defaults/mod010-rules/type/set/html_views.rb', line 28

view :one_line_content, wrap: {} do
  ""
end

#view: set_labelObject



20
21
22
# File 'platypus/tmp/set/gem-defaults/mod010-rules/type/set/html_views.rb', line 20

view :set_label do
  wrap_with :strong, card.label, class: "set-label"
end