質問編集履歴

2

タイトル変更

2019/10/21 07:20

投稿

Komama
Komama

スコア28

test CHANGED
@@ -1 +1 @@
1
- Rails jp_prefecture : jQuery読み込みエラー
1
+ Rails jp_prefecture Uncaught ReferenceError: is not defined
test CHANGED
File without changes

1

application.html.erbを追加

2019/10/21 07:20

投稿

Komama
Komama

スコア28

test CHANGED
File without changes
test CHANGED
@@ -58,6 +58,32 @@
58
58
 
59
59
 
60
60
 
61
+ application.html.erb
62
+
63
+ ```html
64
+
65
+ <head>
66
+
67
+ <title></title>
68
+
69
+ <%= csrf_meta_tags %>
70
+
71
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
72
+
73
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
74
+
75
+ <% self_css_path = "/assets/"+controller.controller_name %>
76
+
77
+ <%= stylesheet_link_tag self_css_path, :media => "all" %>
78
+
79
+ <%= stylesheet_link_tag 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' %>
80
+
81
+ </head>
82
+
83
+ ```
84
+
85
+
86
+
61
87
  エラー内容
62
88
 
63
89
  ![イメージ説明](fe6aeaf35faad11d33f6bc44bd0e8e0f.png)