kono_utils_bootstrap_view4 0.1.0 → 0.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0869fde7cdac3f227c974d670959740352a6ce8244bff8ec08439264268470f
|
4
|
+
data.tar.gz: 75ed284392e77c09b2ef9033f9f7201c176b88f95c68084c7c896b8c3a74d31b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: def54fb4f71d919cde8adf72494d258878db8e78c5999a89a40420e14642ccf04bdb7ee40a1fba1300beb8738e8b6ca8132f7b7ad7e861eb2118ac530403ec3e
|
7
|
+
data.tar.gz: 5d92329145a3b55e5eadd638ac64f346a51c27f6143b39543870e868b011561bb1e86cf40b423172aefb5df31aa72c7222bffa0b9f205ea0877f8e999ec0c3b4
|
@@ -1,11 +1,11 @@
|
|
1
1
|
class TempusDominusInput < SimpleForm::Inputs::Base
|
2
2
|
def input(wrapper_options)
|
3
3
|
|
4
|
-
template.content_tag(:div, class:
|
4
|
+
template.content_tag(:div, class: "input-group date #{ has_errors? ? 'is-invalid' : ''}", data: { target_input: 'nearest'}, id: options[:date_time_picker_identifier]) do
|
5
5
|
|
6
6
|
tmp = ActiveSupport::SafeBuffer.new
|
7
|
-
|
8
|
-
tmp << @builder.text_field(attribute_name,
|
7
|
+
merged_input_options = merge_wrapper_options(input_html_options, wrapper_options)
|
8
|
+
tmp << @builder.text_field(attribute_name, merged_input_options)
|
9
9
|
tmp << div_button
|
10
10
|
|
11
11
|
tmp
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kono_utils_bootstrap_view4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marino Bonetti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|