form_angular 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/form_angular/errors/ng_error.rb +1 -1
- data/lib/form_angular/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f9402d26ee143cf6d092086e03bfd047a169958
|
4
|
+
data.tar.gz: e48426067c454a7a9a427f1452c657cfe2b8fcf4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d9b8815a1ef6168e209d85211a3d67bdb56ff716d858a5c04ce76485d836f34ca999df21f20438e822aa9edb0f048d13b821aac4e8976c8a84eb0064484194d
|
7
|
+
data.tar.gz: b88f660100cc24a9e13d49566e19023a7a516534df10b8c17a6f526412da0b0c66d8bc9aa979da41ddca5b43e626a096f1e4d365fdcd5f55933dd32b79738c56
|
@@ -22,7 +22,7 @@ module FormAngular
|
|
22
22
|
|
23
23
|
def html_options(key)
|
24
24
|
html_options ||= {}
|
25
|
-
html_options.merge!({'ng-show' => "#{ng_access_expression}.$error.#{key} && #{ng_access_expression}.$invalid
|
25
|
+
html_options.merge!({'ng-show' => "#{ng_access_expression}.$error.#{key} && (#{ng_access_expression}.$invalid || #{ng_access_expression}.$dirty)", class: "ng-cloak text-danger"})
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
data/lib/form_angular/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: form_angular
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guillaume Balaine
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-12-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|