Sha256: 76f0327296b58f4a32bca78d873f9993461fee9f6e6586a4829d665254d46044

Contents?: true

Size: 739 Bytes

Versions: 53

Compression:

Stored size: 739 Bytes

Contents

h1 Tabs

p Simple tab

pre
  | = sts.tabs do |t|
      - t.with_tab :first
        | First content
      - t.with_tab :second
        | Second content

= sts.tabs do |t|
  - t.with_tab :first
    | First content
  - t.with_tab :second
    | Second content

p Tab with custom link in navigation

pre
  | = sts.tabs(custom_link: link_to(content_tag(:i, nil, class: "fa-thin fa-plus") + " New", '#')) do |t|
      - t.with_tab :first, icon: 'fal fa-xmark'
        | First content
      - t.with_tab :second
        | Second content

= sts.tabs(custom_link: link_to(content_tag(:i, nil, class: "fa-thin fa-plus") + " New", '#')) do |t|
  - t.with_tab :first, icon: 'fal fa-xmark'
    | First content
  - t.with_tab :second
    | Second content

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
satis-2.1.11 app/views/satis/documentation/tabs/index.html.slim
satis-2.1.10 app/views/satis/documentation/tabs/index.html.slim
satis-2.1.9 app/views/satis/documentation/tabs/index.html.slim
satis-2.1.8 app/views/satis/documentation/tabs/index.html.slim
satis-2.1.6 app/views/satis/documentation/tabs/index.html.slim
satis-2.1.5 app/views/satis/documentation/tabs/index.html.slim
satis-2.1.4 app/views/satis/documentation/tabs/index.html.slim
satis-2.1.3 app/views/satis/documentation/tabs/index.html.slim
satis-2.1.1 app/views/satis/documentation/tabs/index.html.slim
satis-2.1.0 app/views/satis/documentation/tabs/index.html.slim
satis-2.0.9 app/views/satis/documentation/tabs/index.html.slim
satis-2.0.8 app/views/satis/documentation/tabs/index.html.slim
satis-2.0.7 app/views/satis/documentation/tabs/index.html.slim