leather 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
- case container_mode
|
5
5
|
- when :with
|
6
|
-
%nav.navbar
|
6
|
+
%nav.navbar{ class: html_options[:class] }
|
7
7
|
.container
|
8
8
|
.row.clearfix
|
9
9
|
.column.col-md-12
|
@@ -21,7 +21,7 @@
|
|
21
21
|
.container
|
22
22
|
.row.clearfix
|
23
23
|
.column.col-md-12
|
24
|
-
%nav.navbar
|
24
|
+
%nav.navbar{ class: html_options[:class] }
|
25
25
|
.navbar-header
|
26
26
|
%button.navbar-toggle{data:{toggle:'collapse', target:'#navbar-to-collapse'},type:'button'}
|
27
27
|
%span.sr-only
|
@@ -33,7 +33,7 @@
|
|
33
33
|
.collapse.navbar-collapse#navbar-to-collapse
|
34
34
|
= block
|
35
35
|
- else
|
36
|
-
%nav.navbar
|
36
|
+
%nav.navbar{ class: html_options[:class] }
|
37
37
|
.navbar-header
|
38
38
|
%button.navbar-toggle{data:{toggle:'collapse', target:'#navbar-to-collapse'},type:'button'}
|
39
39
|
%span.sr-only
|
@@ -17,6 +17,7 @@ module Leather
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def navbar(title, brand_link, html_options = {}, &block)
|
20
|
+
html_options = { class: "navbar-default" }.merge(html_options)
|
20
21
|
render partial: 'leather/navbar', locals: { title: title, brand_link: brand_link, block: capture(&block), html_options: html_options }
|
21
22
|
end
|
22
23
|
|
data/lib/leather/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: leather
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -185,7 +185,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
185
185
|
version: '0'
|
186
186
|
segments:
|
187
187
|
- 0
|
188
|
-
hash: -
|
188
|
+
hash: -597435064653528085
|
189
189
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
190
|
none: false
|
191
191
|
requirements:
|
@@ -194,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
194
|
version: '0'
|
195
195
|
segments:
|
196
196
|
- 0
|
197
|
-
hash: -
|
197
|
+
hash: -597435064653528085
|
198
198
|
requirements: []
|
199
199
|
rubyforge_project:
|
200
200
|
rubygems_version: 1.8.24
|