Skip to content

Commit a62e3d0

Browse files
committed
Update show.html.erb
1 parent bf9091d commit a62e3d0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

app/views/notes/show.html.erb

-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
<%= render @note %>
88

99
<div class="grid">
10-
<%= link_to "Edit this note", edit_note_path(@note), class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
11-
<div class="inline-block ml-2">
12-
<%= button_to "Destroy this note", note_path(@note), method: :delete, class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 font-medium" %>
13-
</div>
1410
<%= link_to "Back to notes", notes_path, class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
1511
</div>
1612
</div>

0 commit comments

Comments
 (0)