bootstrap_form 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -50,7 +50,7 @@ top of the inputs and places helper text to the right of the field:
50
50
  <% end %>
51
51
  <% end %>
52
52
 
53
- ![Example Form](https://github.com/potenza/bootstrap_form/raw/master/assets/example_form.png)
53
+ ![Example Form](https://github.com/potenza/bootstrap_form/raw/master/examples/example_form.png)
54
54
 
55
55
 
56
56
  To use a horizontal-style form with labels to the left of the inputs,
@@ -72,7 +72,7 @@ When a validation error is triggered, the field will be outlined and the
72
72
  error will be displayed next to the field. Rails normally wraps fields
73
73
  in a div (field_with_errors), but this behavior is suppressed when `bootstrap_form_for` is called.
74
74
 
75
- ![Example form with errors](https://github.com/potenza/bootstrap_form/raw/master/assets/example_form_error.png)
75
+ ![Example form with errors](https://github.com/potenza/bootstrap_form/raw/master/examples/example_form_error.png)
76
76
 
77
77
 
78
78
  Credits
@@ -0,0 +1,7 @@
1
+ .form-vertical p.help-block {
2
+ position: relative;
3
+ margin-top: -5px;
4
+ }
5
+ .error .controls label {
6
+ color: #B94A48;
7
+ }
@@ -1,3 +1,3 @@
1
1
  module BootstrapForm
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-02-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70171139823760 !ruby/object:Gem::Requirement
16
+ requirement: &70341671302580 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '3.1'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70171139823760
24
+ version_requirements: *70341671302580
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: sqlite3
27
- requirement: &70171139823340 !ruby/object:Gem::Requirement
27
+ requirement: &70341671302160 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70171139823340
35
+ version_requirements: *70341671302160
36
36
  description: Rails 3 form builder that makes it easy to style forms with Twitter Bootstrap
37
37
  2.0
38
38
  email:
@@ -41,6 +41,7 @@ executables: []
41
41
  extensions: []
42
42
  extra_rdoc_files: []
43
43
  files:
44
+ - app/assets/stylesheets/bootstrap_form.css
44
45
  - lib/bootstrap_form/engine.rb
45
46
  - lib/bootstrap_form/form_builder.rb
46
47
  - lib/bootstrap_form/helper.rb