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.

15 lines
744 B

4 months ago
6 months ago
3 months ago
12 months ago
6 months ago
4 months ago
6 months ago
  1. <tr class="text-sm even:bg-gray-100 dark:even:bg-gray-600 dark:text-gray-200">
  2. <td class="px-2 w-1/2">
  3. <%= highlight(score.name, params.dig(:q,:name_cont)) %>
  4. </td>
  5. <td class="px-2">
  6. <%= score.grade %>
  7. </td>
  8. <td class="px-2">
  9. <%= score.created_at %>
  10. </td>
  11. <td class="p-2 m-5 flex justify-end">
  12. <%= render partial: 'common/button', locals: {path: score, icon: :eye, tooltip: 'open score',data:{ turbo_frame: '_top'}} %>
  13. <%= render partial: 'common/button', locals: {path: edit_score_path(score), icon: :edit, tooltip: 'edit score',data:{ turbo_frame: '_top'}} %>
  14. <%= render partial: 'common/button', locals: {path: score, icon: :trash, tooltip: 'delete score',data:{ turbo_method: :delete}} %>
  15. </td>
  16. </tr>