mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-14 10:17:06 +02:00
Use local variable
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
366df76679
commit
ea6c6f3765
@ -6,10 +6,10 @@
|
||||
#plugin-setting
|
||||
- # 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 |form|
|
||||
- @setting.common_options.each do |key|
|
||||
- setting.common_options.each do |key|
|
||||
= form.field(key)
|
||||
|
||||
- if @setting.have_buffer_section?
|
||||
- if setting.have_buffer_section?
|
||||
%owned-plugin-form{"v-bind:id" => "'buffer-section'",
|
||||
"v-bind:options-json" => "'#{Fluent::Plugin::BUFFER_REGISTRY.map.keys.to_json}'",
|
||||
"v-bind:initial-plugin-name" => "'#{setting.buffer_type}'",
|
||||
|
Loading…
Reference in New Issue
Block a user