bootstrap_builder 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -1,6 +1,7 @@
1
1
  .control-group{:class => ('error' if error_messages.present?)}
2
2
 
3
- = builder.label(method, label_text, :class => 'control-label')
3
+ - if label_text.present?
4
+ = builder.label(method, label_text, :class => 'control-label')
4
5
  .controls
5
6
  - if defined?(values)
6
7
  - values.each do |value|
@@ -1,6 +1,7 @@
1
1
  - if builder.options[:html] && builder.options[:html][:class] =~ /form-horizontal/
2
2
  .control-group{:class => ('error' if error_messages.present?)}
3
- = builder.label(method, label_text, :class => 'control-label')
3
+ - if label_text.present?
4
+ = builder.label(method, label_text, :class => 'control-label')
4
5
  .controls
5
6
  - if prepend.present?
6
7
  .input-prepend
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "bootstrap_builder"
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jack Neto", "The Working Group Inc."]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: