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 +4 -4
- data/lib/bulma_form_builder/inputs/select.rb +3 -1
- data/lib/bulma_form_builder/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d49a76ef23a5099b351c56dd11ece5463b4f3d8f932839aed7c28593df83aa8f
|
4
|
+
data.tar.gz: 39d5cd635ff8b41f32b565a99e48e860af0962bcd9599d7874ee928a3bab755a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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: '
|
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
|
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.
|
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-
|
11
|
+
date: 2021-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|