fwt_bootstrap_rails 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/bootstrap_form_builder.rb +2 -2
- data/lib/fwt_bootstrap_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 725c27af132eeea0621a982b6da20f1d18754324
|
4
|
+
data.tar.gz: 349114f421bb20c0452fe2c69a950dcd936fba28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a93bdc53b3321638fd1eeee38d11ebf4d35080927e721aa8baeb461115c5f3e480c7bcd31cf7d2c555bcb6cb3ac49d7a3ad6c03847f7d38768e82d97a39bfdb4
|
7
|
+
data.tar.gz: 97eaa80ac1d7a4eea1fffcbe5ceada5f0be1d7eba99ad06f1a1ee7fba703f5c89cf3acd3390f2643974383d4fe274a98ad8a0e818fbb6855d2e08f661cab8ecb
|
@@ -56,8 +56,8 @@ class BootstrapFormBuilder < ActionView::Helpers::FormBuilder
|
|
56
56
|
raw(html)
|
57
57
|
end
|
58
58
|
|
59
|
-
def select(name, options_for_select,
|
60
|
-
bootstrap_input(name, super(@object_name, name, options_for_select,
|
59
|
+
def select(name, options_for_select, options = {})
|
60
|
+
bootstrap_input(name, super(@object_name, name, options_for_select, options, {:class => "form-control"}), true)
|
61
61
|
end
|
62
62
|
|
63
63
|
def collection_select(name, collection, value_method, text_method, options = {})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fwt_bootstrap_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brooke-Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass-rails
|