nyros_form2 0.2.1 → 0.2.2
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: 34846da057696e9bfaf90dcaba9beadad726f46f549831cf8b16d029dd2f5479
|
4
|
+
data.tar.gz: c8c47b3c4972bafea91ea2406f906b147a8955a3925d6650f2c0923fc6551fc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ac77eb97931ab3f25d84d459f3fb08878245f77c1a020fd19ad88b882ce14feb07de1d8c132c1f86689bd1233a74deaa5764e4f658931c993cbff46df0343ab
|
7
|
+
data.tar.gz: 79b886769e63ed00adeb6e756c4525bf116a781eadd0b56f37071ab5fca4cc012778d866d69b60dcd25c666126157901a7ca647182bfbf67a7bb4dfe79454897
|
@@ -16,8 +16,10 @@
|
|
16
16
|
email: true
|
17
17
|
},
|
18
18
|
mobile: {
|
19
|
-
|
20
|
-
|
19
|
+
required: true,
|
20
|
+
digits: true,
|
21
|
+
minlength: 10,
|
22
|
+
maxlength: 10,
|
21
23
|
}
|
22
24
|
},
|
23
25
|
// Specify validation error messages
|
@@ -25,7 +27,7 @@
|
|
25
27
|
name: "Please enter your firstname",
|
26
28
|
mobile: {
|
27
29
|
required: "Please Enter mobile number",
|
28
|
-
minlength: "Your Mobile must be at least 10
|
30
|
+
minlength: "Your Mobile must be at least 10 numbers long"
|
29
31
|
},
|
30
32
|
email: "Please enter a valid email address"
|
31
33
|
},
|
@@ -72,7 +74,7 @@
|
|
72
74
|
<% end %>
|
73
75
|
|
74
76
|
<div>
|
75
|
-
<%= link_to "Back", users_path
|
77
|
+
<%= link_to "Back", users_path %>
|
76
78
|
</div>
|
77
79
|
</div>
|
78
80
|
</div>
|
@@ -16,8 +16,10 @@
|
|
16
16
|
email: true
|
17
17
|
},
|
18
18
|
mobile: {
|
19
|
-
|
20
|
-
|
19
|
+
required: true,
|
20
|
+
digits: true,
|
21
|
+
minlength: 10,
|
22
|
+
maxlength: 10,
|
21
23
|
}
|
22
24
|
},
|
23
25
|
// Specify validation error messages
|
@@ -25,7 +27,7 @@
|
|
25
27
|
name: "Please enter your firstname",
|
26
28
|
mobile: {
|
27
29
|
required: "Please Enter mobile number",
|
28
|
-
minlength: "Your Mobile must be at least 10
|
30
|
+
minlength: "Your Mobile must be at least 10 numbers long"
|
29
31
|
},
|
30
32
|
email: "Please enter a valid email address"
|
31
33
|
},
|
@@ -35,6 +37,8 @@
|
|
35
37
|
}
|
36
38
|
});
|
37
39
|
});
|
40
|
+
|
41
|
+
|
38
42
|
</script>
|
39
43
|
<body >
|
40
44
|
<div class="container" >
|
@@ -72,7 +76,7 @@
|
|
72
76
|
<% end %>
|
73
77
|
|
74
78
|
<div>
|
75
|
-
<%= link_to "Back", users_path
|
79
|
+
<%= link_to "Back", users_path%>
|
76
80
|
</div>
|
77
81
|
</div>
|
78
82
|
</div>
|
data/lib/nyros_form2/version.rb
CHANGED