You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
732 B

5 months ago
11 months ago
5 months ago
11 months ago
5 months ago
11 months ago
5 months ago
11 months ago
5 months ago
5 months ago
  1. <tr id="<%= dom_id score %>" class=''>
  2. <td class="my-5">
  3. <%= score.name %>
  4. </td>
  5. <td class="my-5">
  6. <%= score.grade %>
  7. </td>
  8. <td class=''>
  9. <% if action_name != "show" %>
  10. <%= link_to score, 'data-tooltip': 'show',class: 'mr-1 border rounded-lg border-purple-800 p-2 bg-white' do %><%=fa_icon :eye %><% end %>
  11. <%= link_to edit_score_path(score), 'data-tooltip': 'edit', class: 'mr-1 border rounded-lg border-purple-800 p-2 bg-white' do %><%=fa_icon :edit %><% end %>
  12. <%= link_to score, 'data-tooltip': 'delete', data:{ turbo_method: :delete}, class: 'border rounded-lg border-purple-800 mr-1 p-2 bg-white' do %><%=fa_icon :trash %><% end %>
  13. <hr class="mt-6">
  14. <% end %>
  15. </td>
  16. </tr>