<commit_before>h1 = ErrorTemplate.model_name.human(count: 2)

.table-responsive
  table.sortable.table
    thead
      tr
        th = t('activerecord.attributes.error_template.name')
        th = t('activerecord.attributes.error_template.description')
        th = t('activerecord.attributes.exercise.execution_environment')
        th colspan=5 = t('shared.actions')
    tbody
      - @error_templates.each do |error_template|
        tr
          td = error_template.name
          td = error_template.description
          td = link_to(error_template.execution_environment)
          td = link_to(t('shared.show'), error_template)
          td = link_to(t('shared.edit'), edit_error_template_path(error_template))
          td = link_to(t('shared.destroy'), error_template, data: {confirm: t('shared.confirm_destroy')}, method: :delete)

= render('shared/pagination', collection: @error_templates)
p = render('shared/new_button', model: ErrorTemplate)<commit_msg>Make table more concise<commit_after>h1 = ErrorTemplate.model_name.human(count: 2)

.table-responsive
  table.sortable.table
    thead
      tr
        th = t('activerecord.attributes.error_template.name')
        th = t('activerecord.attributes.error_template.description')
        th = t('activerecord.attributes.exercise.execution_environment')
        th colspan=3 = t('shared.actions')
    tbody
      - @error_templates.each do |error_template|
        tr
          td = error_template.name
          td = error_template.description
          td = link_to(error_template.execution_environment)
          td = link_to(t('shared.show'), error_template)
          td = link_to(t('shared.edit'), edit_error_template_path(error_template))
          td = link_to(t('shared.destroy'), error_template, data: {confirm: t('shared.confirm_destroy')}, method: :delete)

= render('shared/pagination', collection: @error_templates)
p = render('shared/new_button', model: ErrorTemplate)
{'fraction_non_alphanumeric': 0.11934156378600823, 'fraction_numerical': 0.0030864197530864196, 'mean_word_length': 3.544392523364486, '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': '6803054', 'n_tokens_mistral': 587, 'n_tokens_neox': 556, 'n_words': 98}