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
491 B

10 months ago
  1. <div class="w-full">
  2. <% if notice.present? %>
  3. <p class="py-2 px-3 bg-green-50 mb-5 text-green-500 font-medium rounded-lg inline-block" id="notice"><%= notice %></p>
  4. <% end %>
  5. <div class="flex justify-between items-center">
  6. <h1 class="font-bold text-4xl">Scores</h1>
  7. <%= link_to "New score", new_score_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium" %>
  8. </div>
  9. <div id="scores" class="min-w-full">
  10. <%= render @scores %>
  11. </div>
  12. </div>