Sha256: 17c4c857647988afdc1801061cd7d3a467918fdd1285facd867d441ab9ddd5a2

Contents?: true

Size: 1.18 KB

Versions: 9

Compression:

Stored size: 1.18 KB

Contents

- @setting.errors.full_messages.each do |e|
  .alert.alert-danger= e

.form-group
  = f.label :path
  = f.hidden_field :path
  = f.text_field :path, class: "form-control", disabled: true
.form-group
  = f.label :format
  = f.hidden_field :format
  = f.text_field :format, class: "form-control", disabled: true
- if @setting.known_formats[@setting.format.to_sym]
  - @setting.known_formats[@setting.format.to_sym].each do |key|
    %label= key
    = f.hidden_field key
    = @setting.send(key)
    %br
- else
  %label= @setting.format
  = f.hidden_field :regexp
  = @setting.regexp
.form-group
  = f.label :tag
  = f.text_field :tag, class: "form-control"
.form-group
  = f.label :pos_file
  = f.text_field :pos_file, class: "form-control"
.well.well-sm
  %h4{"data-toggle" => "collapse", "href" => "#advanced-setting"}
    = icon('fa-caret-down')
    = t('terms.advanced_setting')
  #advanced-setting.collapse
    .form-group
      = f.label :rotate_wait
      = f.text_field :rotate_wait, class: "form-control"
    .form-group
      = f.check_box :read_from_head
      = f.label :read_from_head
    .form-group
      = f.label :refresh_interval
      = f.text_field :refresh_interval, class: "form-control"

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fluentd-ui-1.0.0.alpha.2 app/views/fluentd/settings/in_tail/_form.html.haml
fluentd-ui-1.0.0.alpha.1 app/views/fluentd/settings/in_tail/_form.html.haml
fluentd-ui-0.4.5 app/views/fluentd/settings/in_tail/_form.html.haml
fluentd-ui-0.4.4 app/views/fluentd/settings/in_tail/_form.html.haml
fluentd-ui-0.4.3 app/views/fluentd/settings/in_tail/_form.html.haml
fluentd-ui-0.4.2 app/views/fluentd/settings/in_tail/_form.html.haml
fluentd-ui-0.4.1 app/views/fluentd/settings/in_tail/_form.html.haml
fluentd-ui-0.4.0 app/views/fluentd/settings/in_tail/_form.html.haml
fluentd-ui-0.3.21 app/views/fluentd/settings/in_tail/_form.html.haml