[Rails] Wine cellar inventory tracker.
1
<!-- -*- mode: web; -*- -->
2
3
<li><%= link_to "Back to homepage", root_path %></li>
4
5
<h1><%= @wine.name %></h1>
6
<h2><%= @wine.year %></h2>
7
<p><%= @wine.notes %></p>
8
9
<ul>
10
<li><%= link_to "Edit", edit_wine_path(@wine) %></li>
11
<li><%= link_to "Destroy",
12
wine_path(@wine),
13
data: {
14
turbo_method: :delete,
15
turbo_confirm: "Are you sure you want to delete #{@wine.name}?"
16
} %></li>
17
</ul>
18