- page_title t(".page_title")

= link_to t('fluentd.settings.in_tail.restart_from_first'), daemon_setting_in_tail_path(@fluentd)

= form_for(@setting, as: "setting", url: finish_daemon_setting_in_tail_path(@fluentd)) do |f|
  = render partial: "form", locals: { f: f }

  %pre= @setting.to_config

  %p
    = f.submit t('fluentd.common.finish')   , class: "btn btn-lg btn-primary float-right"
    = f.submit t('terms.prev'),   class: "btn btn-lg btn-secondary", name: "back"
    .clearfix.float-right= t('terms.notice_restart_for_config_edit', brand: fluentd_ui_brand)

- page_title t(".page_title")

= link_to t('fluentd.settings.in_tail.restart_from_first'), daemon_setting_in_tail_path(@fluentd)

= form_with(model: @setting, scope: "setting", url: finish_daemon_setting_in_tail_path(@fluentd), local: true, builder: FluentdFormBuilder) do |form|
  = render partial: "form", locals: { form: form, setting: @setting }

  %pre= @setting.to_config

  %p
    = form.submit t('fluentd.common.finish')   , class: "btn btn-lg btn-primary float-right"
    = form.submit t('terms.prev'),   class: "btn btn-lg btn-secondary", name: "back"
    .clearfix.float-right= t('terms.notice_restart_for_config_edit', brand: fluentd_ui_brand)

Apply changes same as after_format
Apply changes same as after_format

Signed-off-by: Kenji Okimoto <7a4b90a0a1e6fc688adec907898b6822ce215e6c@clear-code.com>
