egov_utils 0.1.31 → 0.1.32

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: 27ad750ec0eb6ded622413a440bdb2f1101a26de3c7fd4a66cdd5c08d97cb3b4
4
- data.tar.gz: a0566b02e854ac2901f959f10859521f2ce543b04baf252ea09e6d6cfef27f44
3
+ metadata.gz: 188c60152e40aecbbc6e701fcf8080c32f71864bcf3748782947fb923aef9dd2
4
+ data.tar.gz: eb37a0896c884da21bf779e266dd8ae2b552467f18876a774d81fd1fe6a93082
5
5
  SHA512:
6
- metadata.gz: d46d1fc603c83b3142db3eae0d8f0ef484a3e728cedc7c7a66dfe5fb134f8f641b00800c17412346de2db300220afbbc2b84d79441dcaa1e978b08b8f749e211
7
- data.tar.gz: bfd3b7ad36d208db0afaed81a6fdb29faa5da0acd3375ec6531895894730990a2de33a880272a4e8a131b3be798a5b5a2dcab82b8094d4ca839d8e1b163ed9e2
6
+ metadata.gz: 56965aa315a26c863475725423ed35cab118abeb4020bc692cee16cc6fdddf710c038c553101a418df18b94493f1be4807e04ae8233d27638ca44dfede30f4b4
7
+ data.tar.gz: d08952bf3185cfed704238172c4f9d69b8f882b299c877d4136d5ec91c6f72f33852eceb7e99ea3ffe3ae42ef89ff0635d85d28a33be5f265b1aeed633f1af25
@@ -4,6 +4,7 @@ module BootstrapForm
4
4
 
5
5
  def submit(name = nil, options = {})
6
6
  options.reverse_merge! class: 'btn btn-secondary'
7
+ pp options
7
8
  super(name, options)
8
9
  end
9
10
 
@@ -78,14 +78,18 @@ module EgovUtils
78
78
  end
79
79
 
80
80
  initializer 'egov_utils.bootstrap_form' do
81
+
81
82
  require 'bootstrap_form'
82
83
 
83
84
  require 'bootstrap_form/helpers/bootstrap4'
85
+
86
+ BootstrapForm::FormBuilder.__send__(:prepend, BootstrapForm::Helpers::Bootstrap4)
87
+
88
+
84
89
  require 'bootstrap_form/datetimepicker'
85
90
  require 'bootstrap_form/fileuid'
86
91
  require 'bootstrap_form/select2'
87
92
  require 'bootstrap_form/custom_file_field'
88
- BootstrapForm::Helpers::Bootstrap.__send__(:prepend, BootstrapForm::Helpers::Bootstrap4)
89
93
 
90
94
  BootstrapForm::DATE_FORMAT_JS = 'YYYY-MM-DD'
91
95
  BootstrapForm::DATE_FORMAT_RUBY = BootstrapForm::DATE_FORMAT_JS.gsub('YYYY', "%Y").gsub('MM', "%m").gsub('DD', "%d")
@@ -1,3 +1,3 @@
1
1
  module EgovUtils
2
- VERSION = '0.1.31'
2
+ VERSION = '0.1.32'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: egov_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.31
4
+ version: 0.1.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ondřej Ezr