<% if @transfer_notes.empty? %> <%= t('views.index.no_record_found') %> <% else %> <% @transfer_notes.each do |transfer_note| %> <%= transfer_note.classroom %> <%= transfer_note.discipline %> <%= transfer_note.student %> <%= transfer_note.step %> <%= l(transfer_note.transfer_date) %> <%= link_to t('views.index.edit'), edit_transfer_note_path(transfer_note), class: 'btn btn-success' %> <%= link_to t('views.index.delete'), transfer_note_path(transfer_note), class: 'btn btn-danger', method: 'delete', data: { confirm: t('views.index.confirm') } %> <% end %> <% end %>