effective_bootstrap 1.14.13 → 1.14.14
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: d24661035aefda568e36bd05da600c648106f9d8848cf451fb05507ae6c8d34b
|
4
|
+
data.tar.gz: 7b7255fad5bbebe43bd5c7e751c26444fa32e2eee36d0a73df174d8a6c61b578
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f67ec2cc997cd11a97c447c851eaee940e93bd0702d9218d8cc6f8c5af5c3649326cd3c3abfc9877bdf0ca04ffae7bb367c7c79e124db848bf72e9e5ebba6491
|
7
|
+
data.tar.gz: 7aa8297e0a5c2a7fdbea857301abdd05641f4b96f047a6fa2f2bee8be40f6d66196c1ef917695e048c9936333bea8aec802e89777c2b73a5b718d573671c3f9d
|
data/README.md
CHANGED
@@ -703,6 +703,7 @@ The form builder will use labels and hints based on your current localization, i
|
|
703
703
|
|
704
704
|
To use these, just assign the activemodel attributes values to your strings
|
705
705
|
|
706
|
+
```
|
706
707
|
en:
|
707
708
|
activerecord:
|
708
709
|
models:
|
@@ -711,6 +712,7 @@ en:
|
|
711
712
|
thing:
|
712
713
|
title: 'Good Title'
|
713
714
|
title_hint: 'please make this title really good'
|
715
|
+
```
|
714
716
|
|
715
717
|
## Table Builder
|
716
718
|
|
@@ -20,5 +20,10 @@ $(document).on 'direct-upload:end', (event) ->
|
|
20
20
|
# Rails UJS fix
|
21
21
|
$obj.closest('form').find('[type=submit][data-confirm]').data('confirmed', true)
|
22
22
|
|
23
|
+
# Remove any empty [] inputs after upload
|
24
|
+
$obj.closest('.form-group').find('input').each (i, input) ->
|
25
|
+
$input = $(input)
|
26
|
+
$input.remove() unless $input.val()
|
27
|
+
|
23
28
|
$(document).on 'change', "input[type='file'][data-click-submit]", (event) ->
|
24
29
|
$(event.currentTarget).closest('form').find('button[type=submit],input[type=submit]').first().click()
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.14.
|
4
|
+
version: 1.14.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|