effective_bootstrap 0.5.15 → 0.5.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/effective/form_input.rb +1 -1
- data/lib/effective_bootstrap/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: 1c1f0af3f6df09b48c615703270fd75737206e162a7a5d7c5b5c2524d4c121e7
|
4
|
+
data.tar.gz: acee23add1fe51b750fc7cab18dc6c48d513c4cc3f52942ccceddccec21610bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58ebb3fc3d4648d0fea68e7ca4ed2e8beb6c167dc796c52743195c2af02ed3fd70b44360e380e4a4298741f3c08aaff460ffea50ff013dff47db05d6c4d5e8ef
|
7
|
+
data.tar.gz: 850769fdd39993dc8c97392a8c74476fd88750abda722a360500b5145664f45bff78e86ea7fe8cf166856e50a3cf17db7471d9c2063a436bffd39214e5bcdb17
|
@@ -169,7 +169,7 @@ module Effective
|
|
169
169
|
invalid ||= [("can't be blank" if options[:input][:required]), ('must be valid' if validated?(name))].compact.join(' and ').presence
|
170
170
|
invalid ||= "can't be blank or is invalid"
|
171
171
|
|
172
|
-
valid = options[:feedback][:valid].delete(:text) ||
|
172
|
+
valid = options[:feedback][:valid].delete(:text) || 'Looks good!'
|
173
173
|
|
174
174
|
content_tag(:div, invalid.html_safe, options[:feedback][:invalid]) +
|
175
175
|
content_tag(:div, valid.html_safe, options[:feedback][:valid])
|
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: 0.5.
|
4
|
+
version: 0.5.16
|
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: 2019-06-
|
11
|
+
date: 2019-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|