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.
14 lines
510 B
14 lines
510 B
<div class="w-full bg-yellow-300 p-4">
|
|
<% if notice.present? %>
|
|
<p class="py-2 px-3 bg-green-50 mb-5 text-green-500 font-medium rounded-lg inline-block" id="notice"><%= notice %></p>
|
|
<% end %>
|
|
|
|
<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 ">
|
|
<%= render @scores %>
|
|
</div>
|
|
</div>
|