web47core 1.0.12 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/core_form_helper.rb +2 -2
- data/lib/web47core/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64f54ec070076d76e56d136ae5591375af7fef5de343ace173a968d960944b72
|
4
|
+
data.tar.gz: 0ad4b7661dabd9358bc09cbfbe2f61b83fec4f59eac5d98257363e42796a3b38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 812533c9e7612635e8646d144582388489cc34e91dd1682adcbc39ec698cec27f8788553d7a60eb18de139b6be5d7746b3525514152910ee382cd7942c35e9c8
|
7
|
+
data.tar.gz: b732ba4c2b1fd46e3e769aefb57ca346e8527049885ecf22988963df5b10c1c6379a4da1f01d0a2a70fa6ab38354d32f3ac10af2411e85572215e89d855dd6e3
|
@@ -21,12 +21,12 @@ module CoreFormHelper
|
|
21
21
|
# tag_options = {class: []} # text_field_options(model, field, options)
|
22
22
|
# tag_options[:class] += ['materialize-textarea']
|
23
23
|
content_tag(:div, class: (%w[input-field col] + classes).join(' ')) do
|
24
|
-
concat(
|
24
|
+
concat(text_area_tag(model, field, value, options))
|
25
25
|
concat(form_label_tag(model, field, value, options))
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
-
def
|
29
|
+
def text_area_tag(model, field, value, options = {})
|
30
30
|
tag_options = text_field_options(model, field, options)
|
31
31
|
tag_options[:class] += ['materialize-textarea']
|
32
32
|
content_tag(:textarea, tag_options) do
|
data/lib/web47core/version.rb
CHANGED