Sha256: 75e585f026b7f73ad56895a13818a16d652d3973af212b0894123799a27dbbdd

Contents?: true

Size: 874 Bytes

Versions: 3

Compression:

Stored size: 874 Bytes

Contents

= 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|
    = f.field(key)

  .form-group
    = f.label(:record, nil, data: { toggle: "tooltip", placement: "right"}, title: "considered to be new key-value pairs")
    = f.text_area(:record, class: "form-control")

  .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|
        = f.field(key)

  = f.submit t('fluentd.common.finish'), class: "btn btn-lg btn-primary pull-right"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fluentd-ui-1.2.1 app/views/fluentd/settings/filter_record_transformer/_form.html.haml
fluentd-ui-1.2.0 app/views/fluentd/settings/filter_record_transformer/_form.html.haml
fluentd-ui-1.1.0 app/views/fluentd/settings/filter_record_transformer/_form.html.haml