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.
 
 
 
 
 

20 lines
533 B

<div class="w-full bg-cyan-200 p-4">
<div class="flex justify-between items-center">
<h1 class="font-bold text-4xl">List of Scores</h1>
<%= link_to "New score", new_score_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium" %>
</div>
<table class="table-auto w-full">
<thead>
<tr class=''>
<th class=''>Name</th>
<th class=''>Grade</th>
<th class=''>Actions</th>
</tr>
</thead>
<%= render @scores %>
</table>
<%== pagy_nav(@pagy) %>
</div>