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.
15 lines
420 B
15 lines
420 B
<div class="w-full bg-cyan-200 p-4">
|
|
|
|
<div class="flex justify-between items-center">
|
|
<h1 class="font-bold text-4xl">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>
|
|
|
|
<div id="scores" class="min-w-full ">
|
|
<% @records.each do |score| %>
|
|
<%= render score %>
|
|
<%end%>
|
|
|
|
</div>
|
|
<%== pagy_nav(@pagy) %>
|
|
</div>
|