app/views/leather/_navbar.html.haml in leather-0.2.0 vs app/views/leather/_navbar.html.haml in leather-0.2.1

- old
+ new

@@ -1,11 +1,11 @@ - container_mode = html_options[:container_mode] - html_options[:container_mode] = nil - case container_mode - when :with - %nav.navbar.navbar-default + %nav.navbar{ class: html_options[:class] } .container .row.clearfix .column.col-md-12 .navbar-header %button.navbar-toggle{data:{toggle:'collapse', target:'#navbar-to-collapse'},type:'button'} @@ -19,11 +19,11 @@ = block - when :in .container .row.clearfix .column.col-md-12 - %nav.navbar.navbar-default + %nav.navbar{ class: html_options[:class] } .navbar-header %button.navbar-toggle{data:{toggle:'collapse', target:'#navbar-to-collapse'},type:'button'} %span.sr-only Toggle navigation %span.icon-bar @@ -31,10 +31,10 @@ %span.icon-bar = link_to title, brand_link, :class => 'navbar-brand' .collapse.navbar-collapse#navbar-to-collapse = block - else - %nav.navbar.navbar-default + %nav.navbar{ class: html_options[:class] } .navbar-header %button.navbar-toggle{data:{toggle:'collapse', target:'#navbar-to-collapse'},type:'button'} %span.sr-only Toggle navigation %span.icon-bar \ No newline at end of file