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

10 months ago
11 months ago
5 months ago
11 months ago
5 months ago
11 months ago
5 months ago
11 months ago
  1. <div class="w-full bg-cyan-200 p-4">
  2. <div class="flex justify-between items-center">
  3. <h1 class="font-bold text-4xl">List of Scores</h1>
  4. <%= link_to "New score", new_score_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium" %>
  5. </div>
  6. <table class="min-w-full divide-y divide-gray-300">
  7. <thead>
  8. <tr>
  9. <th>Name</th>
  10. <th>Grade</th>
  11. <th>Actions</th>
  12. </tr>
  13. </thead>
  14. <%= render @scores %>
  15. </table>
  16. <%== pagy_nav(@pagy) %>
  17. </div>