Sha256: 880495c0e4099c2fa17746f5a2578da5893283547c0acf718531a0b82db85aec

Contents?: true

Size: 580 Bytes

Versions: 13

Compression:

Stored size: 580 Bytes

Contents

- brand = opts[:brand]
- if brand.is_a? String
  %span.navbar-brand
    = brand
- elsif brand
  %a.navbar-brand{ href: brand[:href] || "#" }
    = brand[:name]
%button{ class: "navbar-toggler navbar-toggler-#{opts[:toggle_align]}",
         type: "button",
         "data-bs-toggle": "collapse",
         "data-bs-target": "#navbar-collapse-#{id}",
         "aria-controls": "navbar-collapse-#{id}",
         "aria-expanded": "false",
         "aria-label": "Toggle navigation" }
  %span.navbar-toggler-icon
%div.collapse.navbar-collapse{ id: "navbar-collapse-#{id}" }
  = content

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
card-mod-bootstrap-0.18.1 set/all/bootstrap/navbar/navbar_responsive.haml
card-mod-bootstrap-0.18.0 set/all/bootstrap/navbar/navbar_responsive.haml
card-mod-bootstrap-0.17.0 set/all/bootstrap/navbar/navbar_responsive.haml
card-mod-bootstrap-0.16.0 set/all/bootstrap/navbar/navbar_responsive.haml
card-mod-bootstrap-0.15.6 set/all/bootstrap/navbar/navbar_responsive.haml
card-mod-bootstrap-0.15.5 set/all/bootstrap/navbar/navbar_responsive.haml
card-mod-bootstrap-0.15.4 set/all/bootstrap/navbar/navbar_responsive.haml
card-mod-bootstrap-0.15.3 set/all/bootstrap/navbar/navbar_responsive.haml
card-mod-bootstrap-0.15.1.2 set/all/bootstrap/navbar/navbar_responsive.haml
card-mod-bootstrap-0.15.2.pre1 set/all/bootstrap/navbar/navbar_responsive.haml
card-mod-bootstrap-0.15.1.1 set/all/bootstrap/navbar/navbar_responsive.haml
card-mod-bootstrap-0.15.1 set/all/bootstrap/navbar/navbar_responsive.haml
card-mod-bootstrap-0.15.0 set/all/bootstrap/navbar/navbar_responsive.haml