<commit_before>%table.table.table-hover.table-bordered
  %tbody
    %tr
      %th= t('terms.backup_file')
      %th= t('terms.backup_time')
      %th= t('terms.note')
  - @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
        = 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
          = submit_tag t('terms.save'), class: 'btn'<commit_msg>Add css class instead of id due to multiple forms.<commit_after>%table.table.table-hover.table-bordered
  %tbody
    %tr
      %th= t('terms.backup_file')
      %th= t('terms.backup_time')
      %th= t('terms.note')
  - @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
        = 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'
{'fraction_non_alphanumeric': 0.15346938775510205, 'fraction_numerical': 0.0, 'mean_word_length': 3.1700680272108843, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '930530', 'n_tokens_mistral': 451, 'n_tokens_neox': 442, 'n_words': 88}