bootstrap_form 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/app/assets/stylesheets/bootstrap_form.css +7 -0
- data/lib/bootstrap_form/version.rb +1 -1
- metadata +6 -5
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/
|
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/
|
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
|
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.
|
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: &
|
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: *
|
24
|
+
version_requirements: *70341671302580
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: sqlite3
|
27
|
-
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: *
|
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
|