|
@ -7,11 +7,11 @@ |
|
|
<%= score.grade %> |
|
|
<%= score.grade %> |
|
|
</td> |
|
|
</td> |
|
|
|
|
|
|
|
|
<td> |
|
|
|
|
|
|
|
|
<td class='flex items-end'> |
|
|
<% if action_name != "show" %> |
|
|
<% if action_name != "show" %> |
|
|
<%= link_to score, 'data-tooltip': 'show',class: 'border rounded-lg border-purple-800 m-1 p-2 bg-white' do %><%=fa_icon :eye %><% end %> |
|
|
|
|
|
<%= link_to edit_score_path(score), 'data-tooltip': 'edit', class: 'border rounded-lg border-purple-800 m-1 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 m-1 p-2 bg-white' do %><%=fa_icon :trash %><% end %> |
|
|
|
|
|
|
|
|
<%= 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"> |
|
|
<hr class="mt-6"> |
|
|
<% end %> |
|
|
<% end %> |
|
|
</td> |
|
|
</td> |
|
|