質問編集履歴
1
謝ってcontroller_pathと記載していたので@contactに変更しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -108,7 +108,7 @@
|
|
108
108
|
|
109
109
|
<h2 class="text-center my-5 pt-5"><span class="text-muted border-bottom border-dark pb-2">CONTACT</span></h2>
|
110
110
|
|
111
|
-
<%= form_for(cont
|
111
|
+
<%= form_for(@contact) do |f| %>
|
112
112
|
|
113
113
|
<%= f.text_field :name , placeholder: "お名前", class: 'form-control mt-4', rows:4%>
|
114
114
|
|