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.
 
 
 
 
 

16 lines
689 B

<tr class="text-sm even:bg-gray-100 dark:even:bg-gray-600 dark:text-gray-200">
<td class="px-2 w-1/2">
<%= highlight(score.name, params.dig(:q,:name_cont)) %>
</td>
<td class="px-2 ">
<%= score.grade %>
</td>
<td class="px-2">
<%= score.created_at %>
</td>
<td class="p-2 m-5 flex justify-end">
<%= render partial: 'common/button', locals: {path: score, icon: :eye, tooltip: 'open score'} %>
<%= render partial: 'common/button', locals: {path: edit_score_path(score), icon: :edit, tooltip: 'edit score'} %>
<%= render partial: 'common/button', locals: {path: score, icon: :trash, tooltip: 'delete score',data:{ turbo_method: :delete}} %>
</td>
</tr>