twitter_bootstrap_form_for 1.0.0.rc2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +12 -0
- data/README.markdown +7 -4
- data/lib/twitter_bootstrap_form_for/version.rb +1 -1
- metadata +7 -8
- data/.rvmrc +0 -1
- data/Gemfile +0 -3
data/CHANGELOG.markdown
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
Twitter Bootstrap Form For Changes
|
2
|
+
==================================
|
3
|
+
|
4
|
+
## 1.0.0.rc2 (2011-10-04) ##
|
5
|
+
- Removed dependency on Haml
|
6
|
+
- Checkbox text is now part of the label
|
7
|
+
- Prevent `field_with_errors` divs from wrapping inputs and labels (issue
|
8
|
+
#1)
|
9
|
+
|
10
|
+
## 1.0.0.rc1 (2011-09-30) ##
|
11
|
+
|
12
|
+
- Initial public release
|
data/README.markdown
CHANGED
@@ -11,16 +11,14 @@ However, it also tries not to do too much. Rather than try to guess at input
|
|
11
11
|
types and provide an exhaustive set of options for each tag helper (as
|
12
12
|
Formtastic does), it only lightly wraps the existing Rails form tag helpers.
|
13
13
|
|
14
|
-
Dependencies
|
15
|
-
============
|
14
|
+
## Dependencies ##
|
16
15
|
|
17
16
|
Just Rails. But you were going to use that anyway, weren't you?
|
18
17
|
|
19
18
|
I may consider adding a dependency on `less-rails-bootstrap` in the future, to
|
20
19
|
tie this plugin to specific releases of Twitter Bootstrap.
|
21
20
|
|
22
|
-
Syntax
|
23
|
-
======
|
21
|
+
## Syntax ##
|
24
22
|
|
25
23
|
```haml
|
26
24
|
= twitter_bootstrap_form_for @user do |user|
|
@@ -64,4 +62,9 @@ That's it. All of the Rails field helpers you know and love work just like
|
|
64
62
|
their normal FormBuilder counterparts, but with minor extensions to expose
|
65
63
|
the functionality anticipated by Twitter Bootstrap.
|
66
64
|
|
65
|
+
## Known Bugs ##
|
66
|
+
|
67
|
+
- inline fields are not yet supported ([issue #2])
|
68
|
+
|
67
69
|
[Twitter Bootstrap]: http://twitter.github.com/bootstrap/
|
70
|
+
[issue #2]: https://github.com/stouset/twitter_bootstrap_form_for/issues/2
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter_bootstrap_form_for
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Stephen Touset
|
@@ -13,7 +13,7 @@ date: 2011-10-04 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70199990648140 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '3'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70199990648140
|
25
25
|
description: A custom Rails FormBuilder that assumes the use of Twitter Bootstrap
|
26
26
|
email:
|
27
27
|
- stephen@touset.org
|
@@ -30,8 +30,7 @@ extensions: []
|
|
30
30
|
extra_rdoc_files: []
|
31
31
|
files:
|
32
32
|
- .gitignore
|
33
|
-
- .
|
34
|
-
- Gemfile
|
33
|
+
- CHANGELOG.markdown
|
35
34
|
- README.markdown
|
36
35
|
- examples/screenshot.png
|
37
36
|
- lib/twitter_bootstrap_form_for.rb
|
@@ -55,9 +54,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
55
54
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
55
|
none: false
|
57
56
|
requirements:
|
58
|
-
- - ! '
|
57
|
+
- - ! '>='
|
59
58
|
- !ruby/object:Gem::Version
|
60
|
-
version:
|
59
|
+
version: '0'
|
61
60
|
requirements: []
|
62
61
|
rubyforge_project:
|
63
62
|
rubygems_version: 1.8.10
|
data/.rvmrc
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
rvm use 1.9.2@twitter_bootstrap_form_for
|
data/Gemfile
DELETED