Sha256: beecae3a258c9e2144c82d2fb98b783948b73de0a6a3d6a4a638b1cb96538bb1

Contents?: true

Size: 412 Bytes

Versions: 13

Compression:

Stored size: 412 Bytes

Contents

format :html do
  delegate :class_up, :class_down, :with_class_up, :without_upped_class, :classy,
           to: :voo

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

  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
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
card-mod-format-0.13.4 set/all/rich_html.rb
card-mod-format-0.13.3 set/all/rich_html.rb
card-mod-format-0.13.2 set/all/rich_html.rb
card-mod-format-0.13.1 set/all/rich_html.rb
card-mod-format-0.13.0 set/all/rich_html.rb
card-mod-format-0.11.7 set/all/rich_html.rb
card-mod-format-0.12.0 set/all/rich_html.rb
card-mod-format-0.11.6 set/all/rich_html.rb
card-mod-format-0.11.5 set/all/rich_html.rb
card-mod-format-0.11.4 set/all/rich_html.rb
card-mod-format-0.11.3 set/all/rich_html.rb
card-mod-format-0.11.2 set/all/rich_html.rb
card-mod-format-0.11.1 set/all/rich_html.rb