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.
 
 
 
 
 

17 lines
567 B

<div id="<%= dom_id score %>">
<p class="my-5">
<strong class="block font-medium mb-1">Name:</strong>
<%= score.name %>
</p>
<p class="my-5">
<strong class="block font-medium mb-1">Grade:</strong>
<%= score.grade %>
</p>
<% if action_name != "show" %>
<%= link_to "Show this score", score, class: "rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
<%= link_to "Edit this score", edit_score_path(score), class: "rounded-lg py-3 ml-2 px-5 bg-gray-100 inline-block font-medium" %>
<hr class="mt-6">
<% end %>
</div>