h1 = FileType.model_name.human(count: 2)

.table-responsive
  table.table
    thead
      tr
        th = t('activerecord.attributes.file_type.name')
        th = t('activerecord.attributes.file_type.user')
        th = t('activerecord.attributes.file_type.file_extension')
        th colspan=3 = t('shared.actions')
    tbody
      - @file_types.each do |file_type|
        tr
          td = file_type.name
          td = link_to(file_type.author, file_type.author)
          td = file_type.file_extension
          td = link_to(t('shared.show'), file_type)
          td = link_to(t('shared.edit'), edit_file_type_path(file_type))
          td = link_to(t('shared.destroy'), file_type, data: {confirm: t('shared.confirm_destroy')}, method: :delete)

= render('shared/pagination', collection: @file_types)
p = render('shared/new_button', model: FileType)
