about summary refs log tree commit diff
path: root/app/views/machines/show.html.erb
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2022-01-15 12:32:36 -0500
committerBen Harris <ben@tilde.team>2022-01-15 12:32:36 -0500
commit1d9a622303d7ef6c2f1db99d759554c268767cc4 (patch)
treefa6cdede34fb43efe104ea531bb4c53e04f364e9 /app/views/machines/show.html.erb
parent2c8c227493509175fcdbcba3e6a85f8b954a169e (diff)
remove edit.html.erb
Diffstat (limited to 'app/views/machines/show.html.erb')
-rw-r--r--app/views/machines/show.html.erb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/machines/show.html.erb b/app/views/machines/show.html.erb
index 1af79f9..7870783 100644
--- a/app/views/machines/show.html.erb
+++ b/app/views/machines/show.html.erb
@@ -1,9 +1,8 @@
 <p style="color: green"><%= notice %></p>
 
-<%= render @machine %>
+<%= render "form", machine: @machine %>
 
 <div>
-  <%= link_to "Edit this machine", edit_machine_path(@machine) %> |
   <%= link_to "Back to machines", machines_path %>
 
   <%= button_to "Destroy this machine", @machine, method: :delete %>