Module: Card::Set::All::RichHtml::HtmlFormat

Extended by:
Card::Set::AbstractFormat
Defined in:
card/tmpsets/set/mod008-card-mod-format/all/rich_html.rb,
card/tmpsets/set/mod007-card-mod-format/all/rich_html.rb

Instance Method Summary collapse

Instance Method Details

#view: typeObject



12
13
14
# File 'card/tmpsets/set/mod007-card-mod-format/all/rich_html.rb', line 12

view :type, unknown: true do
  link_to_card card.type_card, nil, class: "cardtype"
end

#view: type_infoObject



16
17
18
19
20
21
22
# File 'card/tmpsets/set/mod007-card-mod-format/all/rich_html.rb', line 16

view :type_info do
  return unless card.type_code != :basic

  wrap_with :span, class: "type-info float-right" do
    link_to_card card.type_name, nil, class: "navbar-link"
  end
end