fwt_bootstrap_rails 0.2.3 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9f49ddd8ba43d20dfd2de35e7cfef74ffd626f34
4
- data.tar.gz: aed804734d65d59ec970eb2b49574081ab1fbc53
3
+ metadata.gz: c4800eed8c300b85180a40e2ee1f14de9ae7e76d
4
+ data.tar.gz: d0727af34f4ebafe74a45188f72f2a1ad3ff8a0d
5
5
  SHA512:
6
- metadata.gz: a7ed3d960058453c12db077c9a52fb1690c87959737d6888c5005c9d3514b665df55b1a8653ebc016775096fd07eba3807716ebd8ab1713ca5d8e71b5845a0a4
7
- data.tar.gz: 9e5ae712a19c9c0329134a3e3d6b3c74760c677ca991e14d6ba6e50e40d8a8a8b1734e714f49728ef4db2906d04e196c3b3b9007dfeab25d7a37a2db548f25d3
6
+ metadata.gz: 6faff66cbeef92b711f6b81f6f518916097922c0b4ac6b497ab10bf69e2913d9894aa087ea613774afc823774af157641c13431c5c04271decb0fc8ebb51afe0
7
+ data.tar.gz: 5d16c7c3fd749df4f98ddd0c04dc45c77c5b1e995ba25a149dd730279e576940cea5b52a585c4da35d82c2bdfc2454b2a7a586627ff6ad751cccc730a3fd6153
@@ -60,6 +60,10 @@ class BootstrapFormBuilder < ActionView::Helpers::FormBuilder
60
60
  bootstrap_input(name, super(@object_name, name, options_for_select, {:include_blank => true}, {:class => "form-control"}), true)
61
61
  end
62
62
 
63
+ def collection_select(name, collection, value_method, text_method, options = {})
64
+ bootstrap_input(name, super(@object_name, name, collection, value_method, text_method, options, {:class => "form-control"}))
65
+ end
66
+
63
67
  def radio(name, values, options = {})
64
68
  html = ""
65
69
  values.each do |h|
@@ -1,3 +1,3 @@
1
1
  module FwtBootstrapRails
2
- VERSION = "0.2.3"
2
+ VERSION = "0.3.0"
3
3
  end
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.2.3
4
+ version: 0.3.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-05 00:00:00.000000000 Z
11
+ date: 2014-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass-rails