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
18 lines
732 B
<tr id="<%= dom_id score %>" class=''>
|
|
<td class="my-5">
|
|
<%= score.name %>
|
|
</td>
|
|
|
|
<td class="my-5">
|
|
<%= score.grade %>
|
|
</td>
|
|
|
|
<td class=''>
|
|
<% if action_name != "show" %>
|
|
<%= link_to score, 'data-tooltip': 'show',class: 'mr-1 border rounded-lg border-purple-800 p-2 bg-white' do %><%=fa_icon :eye %><% end %>
|
|
<%= 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 %>
|
|
<%= 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 %>
|
|
<hr class="mt-6">
|
|
<% end %>
|
|
</td>
|
|
</tr>
|