form_creation 0.1.0 → 0.1.1
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: bdf8d41738c5fb94adb013a58c27ebb32f0e6505b989c9eb33179d3f3972a5f5
|
4
|
+
data.tar.gz: 8c571d4d7b435e697badc89d7792499bad0c09cea71c8eba7f1af50572140c80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37c2542353784a6df59349e319a547ced718cfe6c265093baf0fccc593002fc70fe13a55e9a8c539aa477a50fd27a797fb57c4617adbc02397371332ce49230f
|
7
|
+
data.tar.gz: 92775fca62e8fb93e368fd9ad414ba4b494ca7a4849e1ebb4639287cd14e0099b30b3cef627d3b7e94041c90c6e03a8f7951589ccaee5835a510b5301cf9cd39
|
@@ -10,20 +10,7 @@
|
|
10
10
|
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
11
|
// about supported directives.
|
12
12
|
//
|
13
|
+
//= require jquery
|
13
14
|
//= require rails-ujs
|
14
15
|
//= require activestorage
|
15
16
|
//= require_tree .
|
16
|
-
$(document).ready(function(){
|
17
|
-
$("#new_post").validate({
|
18
|
-
rules: {
|
19
|
-
title: "required",
|
20
|
-
description: "required",
|
21
|
-
created_by: "required",
|
22
|
-
},
|
23
|
-
messages: {
|
24
|
-
title: "Please enter title",
|
25
|
-
description: "Please enter description",
|
26
|
-
created_by: "Please enter create_by",
|
27
|
-
},
|
28
|
-
});
|
29
|
-
});
|
@@ -1,17 +1,17 @@
|
|
1
1
|
// Place all the behaviors and hooks related to the matching controller here.
|
2
2
|
// All this logic will automatically be available in application.js.
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
4
|
+
$(document).ready(function(){
|
5
|
+
$("#new_post").validate({
|
6
|
+
rules: {
|
7
|
+
title: "required",
|
8
|
+
description: "required",
|
9
|
+
created_by: "required",
|
10
|
+
},
|
11
|
+
messages: {
|
12
|
+
title: "Please enter title",
|
13
|
+
description: "Please enter description",
|
14
|
+
created_by: "Please enter create_by",
|
15
|
+
},
|
16
|
+
});
|
17
|
+
});
|