mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-12 09:17:05 +02:00
Puts th inside thead, puts tr in tbody
This commit is contained in:
parent
c021a77d35
commit
c8b4136546
@ -1,16 +1,17 @@
|
|||||||
%table.table.table-hover.table-bordered
|
%table.table.table-hover.table-bordered
|
||||||
%tbody
|
%thead
|
||||||
%tr
|
%tr
|
||||||
%th= t('terms.backup_file')
|
%th= t('terms.backup_file')
|
||||||
%th= t('terms.backup_time')
|
%th= t('terms.backup_time')
|
||||||
%th= t('terms.note')
|
%th= t('terms.note')
|
||||||
- @backup_files.each do |file|
|
%tbody
|
||||||
%tr
|
- @backup_files.each do |file|
|
||||||
%td= link_to(file.name, daemon_setting_history_path(id: file.file_id))
|
%tr
|
||||||
%td.datetime= file.ctime.strftime t('time.formats.default')
|
%td= link_to(file.name, daemon_setting_history_path(id: file.file_id))
|
||||||
%td
|
%td.datetime= file.ctime.strftime t('time.formats.default')
|
||||||
= form_for :note, url: daemon_setting_note_path(id: file.note.file_id), method: :patch do |f|
|
%td
|
||||||
.form-group.input-group
|
= 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 form-control", id: nil
|
.form-group.input-group
|
||||||
%span.input-group-btn
|
= f.text_field :content, value: file.note.content, class: "note-content form-control", id: nil
|
||||||
= submit_tag t('terms.save'), class: 'btn btn-default'
|
%span.input-group-btn
|
||||||
|
= submit_tag t('terms.save'), class: 'btn btn-default'
|
||||||
|
Loading…
Reference in New Issue
Block a user