bulma_form_builder 0.4.0 → 0.4.1

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
  SHA256:
3
- metadata.gz: 8a581612d0a16c72bfcae34bbe63b7ef19294b7459743841350cb1246cf8620c
4
- data.tar.gz: bf8a24194bda0d5b1d4d33f0b4a5ff30699a7b0e17a6cf1744e257f01e62ef61
3
+ metadata.gz: d49a76ef23a5099b351c56dd11ece5463b4f3d8f932839aed7c28593df83aa8f
4
+ data.tar.gz: 39d5cd635ff8b41f32b565a99e48e860af0962bcd9599d7874ee928a3bab755a
5
5
  SHA512:
6
- metadata.gz: 4bfd25b8c4887bd2fa8fe47cba40042020e205984023c0eae521dd00ca29ebb958ae82e4a615db20c2efa9f1197a380404e251b1131ef9563c15e3c02fda4bc0
7
- data.tar.gz: bd5ffa6a3a92232a8d23f789000e4c6a81f8c8f188bb3e3068f5d6468093eb93be94eb7a9908079ed5d4c7dce901d546ab0f23d2886cb1e46bf7c7cf0963b49c
6
+ metadata.gz: fd98e10102a2147b0c434e90a0273c732cc6538037ef9b8a039a26db62035e93de2f5b5966621060b32abbaa4226aecd21980d2659c1c8c898f81ba4c2a2940b
7
+ data.tar.gz: 66d03b9bfe4d74dc2e83d892db4d5444d4d7a32a4ebe5697dbaf1a741f35ad9519186add8d15ca74c8240dc3379c4f9ed62ec41e993824d7c61040705c2736ec
@@ -9,8 +9,10 @@ module BulmaFormBuilder
9
9
  def select_with_bulma(method, choices = nil, options = {}, html_options = {}, &block)
10
10
  html_options[:required] = options[:required]
11
11
 
12
+ div_class = ['select']
13
+ div_class.push('is-fullwidth') if options.delete(:fullwidth)
12
14
  form_field_builder(method, options, html_options) do
13
- content_tag(:div, class: 'select') do
15
+ content_tag(:div, class: div_class.join(' ')) do
14
16
  select_without_bulma(method, choices, options, html_options, &block)
15
17
  end
16
18
  end
@@ -1,3 +1,3 @@
1
1
  module BulmaFormBuilder
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bulma_form_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - aki77
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-24 00:00:00.000000000 Z
11
+ date: 2021-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails