回答編集履歴
1
誤字修正
test
CHANGED
@@ -22,6 +22,6 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
-
概要:
|
25
|
+
解決概要:
|
26
26
|
|
27
27
|
`form_with`はデフォルトで`remote: true`なので、get/postリクエスト先のコントローラーで`respond_to`を使い`js`フォーマットでレスポンスを返します。app/views/αααα/ββββ.js.erbにレスポンスの処理方法を書いて、パーシャルにしておいた`errors.messages`を出力する_ΔΔΔΔ.html.erbを`render 'ΔΔΔΔ'`で出し分ける制御を行う。という方法でした。
|