From 8962784d4bff41e98c3e728625f88b1bd0675c65 Mon Sep 17 00:00:00 2001 From: Kenji Okimoto Date: Fri, 15 Jun 2018 14:37:43 +0900 Subject: [PATCH] Use form_with instead of form_for Signed-off-by: Kenji Okimoto --- app/views/fluentd/settings/in_tail/after_format.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/fluentd/settings/in_tail/after_format.html.haml b/app/views/fluentd/settings/in_tail/after_format.html.haml index 13ee2dc..fc42864 100644 --- a/app/views/fluentd/settings/in_tail/after_format.html.haml +++ b/app/views/fluentd/settings/in_tail/after_format.html.haml @@ -2,7 +2,7 @@ = link_to t('fluentd.settings.in_tail.restart_from_first'), daemon_setting_in_tail_path(@fluentds) -= form_for(@setting, as: "setting", url: confirm_daemon_setting_in_tail_path(@fluentd)) do |f| += form_with(model: @setting, scope: "setting", url: confirm_daemon_setting_in_tail_path(@fluentd), builder: FluentdFormBuilder) do |f| = render partial: "form", locals: { f: f, setting: @setting } %p