furatto 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/furatto/version.rb +1 -1
- data/lib/furatto_rails_helpers/form_builder.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4fe2dac324dfa495e88f1ff30abc670ca61bb66
|
4
|
+
data.tar.gz: f5bf954008f0992c847892508e408ef9e1b6bb19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 470eaef727e1705328b49cf143c424c26c7448295c1c8ebd6eddb3d19507d8079de2da538c72f09f194acd811c330051a13145efb58b88aaa06c51fb405225f2
|
7
|
+
data.tar.gz: a7f25e68667ec59d295b7613b49351fe11f2814e4a61ad4cc613fcb4a3eb11b2ffb858e5790fe41edf29116c3e4653a55f97572f84ed2121c0d99f7f089b17b7
|
data/lib/furatto/version.rb
CHANGED
@@ -22,6 +22,12 @@ module Furatto
|
|
22
22
|
super(attribute, (text || "").html_safe, options)
|
23
23
|
end
|
24
24
|
|
25
|
+
def password_field(attribute, options = {})
|
26
|
+
field attribute, options do |options|
|
27
|
+
super(attribute, options.merge(:autocomplete => :off))
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
25
31
|
private
|
26
32
|
|
27
33
|
def has_error?(attribute)
|