Sha256: 57e0cdc62b0cedcc684279f6d3e28f90af743037a0744be96b9949a3827bf8ba

Contents?: true

Size: 637 Bytes

Versions: 17

Compression:

Stored size: 637 Bytes

Contents

include_set Abstract::Media
# include_set Abstract::BsBadge

format :html do
  before :box do
    voo.show! :customize_button, :box_middle
  end

  view :one_line_content do
    ""
  end

  view :bar_left do
    class_up "card-title", "my-0 ml-2"
    class_up "media-left", "m-0"
    text_with_image size: :medium, title: "", text: _render_title,
                    media_opts: { class: "align-items-center" }
    # field_nest(:image, view: :core) + wrap_with(:h4, render(:title))
  end

  view :bar_right do
    customize_button text: "Customize"
  end

  view :bar_bottom do
    wrap_with :code do
      render_core
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
card-mod-bootstrap-0.14.2 set/abstract/bootswatch_theme/html_views.rb
card-mod-bootstrap-0.14.1 set/abstract/bootswatch_theme/html_views.rb
card-mod-bootstrap-0.14.0 set/abstract/bootswatch_theme/html_views.rb
card-mod-bootstrap-0.13.4 set/abstract/bootswatch_theme/html_views.rb
card-mod-bootstrap-0.13.3 set/abstract/bootswatch_theme/html_views.rb
card-mod-bootstrap-0.13.2 set/abstract/bootswatch_theme/html_views.rb
card-mod-bootstrap-0.13.1 set/abstract/bootswatch_theme/html_views.rb
card-mod-bootstrap-0.13.0 set/abstract/bootswatch_theme/html_views.rb
card-mod-bootstrap-0.11.7 set/abstract/bootswatch_theme/html_views.rb
card-mod-bootstrap-0.12.0 set/abstract/bootswatch_theme/html_views.rb
card-mod-bootstrap-0.11.6 set/abstract/bootswatch_theme/html_views.rb
card-mod-bootstrap-0.11.5 set/abstract/bootswatch_theme/html_views.rb
card-mod-bootstrap-0.11.4 set/abstract/bootswatch_theme/html_views.rb
card-mod-bootstrap-0.11.3 set/abstract/bootswatch_theme/html_views.rb
card-mod-bootstrap-0.11.2 set/abstract/bootswatch_theme/html_views.rb
card-mod-bootstrap-0.11.1 set/abstract/bootswatch_theme/html_views.rb
card-mod-bootstrap-0.11.0 set/abstract/bootswatch_theme/html_views.rb