app/views/fluentd/settings/in_forward/_form.html.haml in fluentd-ui-1.0.0.alpha.3 vs app/views/fluentd/settings/in_forward/_form.html.haml in fluentd-ui-1.0.0.beta.1
- old
+ new
@@ -1,16 +1,18 @@
= render "shared/setting_errors"
- # NOTE: plugin_setting_form_action_url is defined at SettingConcern
-= form_with(model: @setting, scope: "setting", url: plugin_setting_form_action_url(@fluentd), local: true, class: "ignore-rails-error-div", builder: FluentdFormBuilder) do |f|
- - @setting.common_options.each do |key|
+= form_with(model: setting, scope: "setting", url: plugin_setting_form_action_url(fluentd), local: true, class: "ignore-rails-error-div", builder: FluentdFormBuilder) do |f|
+ - setting.common_options.each do |key|
= f.field(key)
+ = render "shared/vue/transport_section", setting: setting, form: f
+
.card.card-body.bg-light
%h4{"data-toggle" => "collapse", "href" => "#advanced-setting"}
= icon('fa-caret-down')
= t('terms.advanced_setting')
#advanced-setting.collapse
- - @setting.advanced_options.each do |key|
+ - setting.advanced_options.each do |key|
= f.field(key)
= f.submit t('fluentd.common.finish'), class: "btn btn-lg btn-primary pull-right"