mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-01-22 23:51:24 +01:00
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
.col-xl-6
|
|
- @fluentd.errors.full_messages.each do |e|
|
|
.alert.alert-danger= e
|
|
|
|
= form_for(:fluentd, url: url, method: method) do |f|
|
|
.form-group
|
|
= f.label :variant
|
|
= f.hidden_field :variant
|
|
= @fluentd.variant
|
|
.form-group
|
|
= f.label :pid_file
|
|
- if @fluentd.td_agent?
|
|
= f.text_field :pid_file, class: "form-control", disabled: true
|
|
= f.hidden_field :pid_file
|
|
- else
|
|
= f.text_field :pid_file, class: "form-control"
|
|
.form-group
|
|
= f.label :log_file
|
|
- if @fluentd.td_agent?
|
|
= f.text_field :log_file, class: "form-control", disabled: true
|
|
= f.hidden_field :log_file
|
|
- else
|
|
= f.text_field :log_file, class: "form-control"
|
|
.form-group
|
|
= f.label :config_file
|
|
- if @fluentd.td_agent?
|
|
= f.text_field :config_file, class: "form-control", disabled: true
|
|
= f.hidden_field :config_file
|
|
- else
|
|
= f.text_field :config_file, class: "form-control"
|
|
.form-group
|
|
= f.label :note
|
|
= f.text_field :note, class: "form-control"
|
|
= f.submit btn, class: "btn btn-primary"
|