mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-14 02:07:07 +02:00
Indent
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
59ac41185c
commit
893bafa548
@ -127,7 +127,13 @@ module SettingsHelper
|
||||
end
|
||||
|
||||
def owned_plugin_type_field(form, key, plugin_type)
|
||||
plugin_registry = Fluent::Plugin.const_get("#{plugin_type.to_s.upcase}_REGISTRY")
|
||||
registry_type = case plugin_type
|
||||
when :parse
|
||||
"PARSER_REGISTRY"
|
||||
when :format
|
||||
"FORMATTER_REGISTRY"
|
||||
end
|
||||
plugin_registry = Fluent::Plugin.const_get("#{registry_type}")
|
||||
html = '<div class="form-group">'
|
||||
html << form.label(key)
|
||||
html << " " # NOTE: Adding space for padding
|
||||
|
Loading…
Reference in New Issue
Block a user