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

10 months ago
  1. <div class="mx-auto md:w-2/3 w-full flex">
  2. <div class="mx-auto">
  3. <% if notice.present? %>
  4. <p class="py-2 px-3 bg-green-50 mb-5 text-green-500 font-medium rounded-lg inline-block" id="notice"><%= notice %></p>
  5. <% end %>
  6. <%= render @score %>
  7. <%= link_to "Edit this score", edit_score_path(@score), class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
  8. <div class="inline-block ml-2">
  9. <%= button_to "Destroy this score", score_path(@score), method: :delete, class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 font-medium" %>
  10. </div>
  11. <%= link_to "Back to scores", scores_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
  12. </div>
  13. </div>