mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
15 lines
711 B
Text
15 lines
711 B
Text
<div class="mx-auto md:w-2/3 w-full flex">
|
|
<div class="mx-auto">
|
|
<% 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 %>
|
|
|
|
<%= render @point %>
|
|
|
|
<%= link_to "Edit this point", edit_point_path(@point), class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
|
|
<%= link_to "Back to points", points_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
|
|
<div class="inline-block ml-2">
|
|
<%= button_to "Destroy this point", @point, method: :delete, class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 font-medium" %>
|
|
</div>
|
|
</div>
|
|
</div>
|