mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-05 10:56:11 +02:00
Adjust field with submit button.
This commit is contained in:
parent
7ba6443594
commit
24811edec4
@ -165,3 +165,7 @@ label {
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
|
||||
.datetime {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@ -7,8 +7,10 @@
|
||||
- @backup_files.each do |file|
|
||||
%tr
|
||||
%td= link_to(file.name, daemon_setting_history_path(id: file.file_id))
|
||||
%td= file.ctime.strftime t('time.formats.default')
|
||||
%td.datetime= file.ctime.strftime t('time.formats.default')
|
||||
%td
|
||||
= form_for :note, url: daemon_setting_note_path(id: file.note.file_id), method: :patch do |f|
|
||||
= f.text_field :content, value: file.note.content, class: "note-content", id: nil
|
||||
= submit_tag t('terms.save'), class: 'btn btn-default btn-sm pull-right'
|
||||
.form-group.input-group
|
||||
= f.text_field :content, value: file.note.content, class: "note-content form-control", id: nil
|
||||
%span.input-group-btn
|
||||
= submit_tag t('terms.save'), class: 'btn btn-default'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user