%ul
  - @backup_files.each do |file|
    %li
      = link_to(file.name, daemon_setting_history_path(id: file.file_id))
      %label= t('terms.backup_time')
      = file.ctime.strftime(I18n.t 'time.formats.default')

%ul
  - @backup_files.each do |file|
    %li
      = link_to(file.name, daemon_setting_history_path(id: file.file_id))
      %label= t('terms.backup_time')
      = file.ctime.strftime(I18n.t 'time.formats.default')
      = form_for :note, url: daemon_setting_note_path(id: file.note.file_id), method: :patch, id: "note-#{file.note.file_id}" do |f|
        = f.text_field :content, value: file.note.content
        = submit_tag t('terms.save'), class: 'btn'

Add form to update a note of a history.
Add form to update a note of a history.
