diff options
author | Ben Harris <ben@tilde.team> | 2022-01-15 12:32:36 -0500 |
---|---|---|
committer | Ben Harris <ben@tilde.team> | 2022-01-15 12:32:36 -0500 |
commit | 1d9a622303d7ef6c2f1db99d759554c268767cc4 (patch) | |
tree | fa6cdede34fb43efe104ea531bb4c53e04f364e9 /app/views/machines/show.html.erb | |
parent | 2c8c227493509175fcdbcba3e6a85f8b954a169e (diff) |
remove edit.html.erb
Diffstat (limited to 'app/views/machines/show.html.erb')
-rw-r--r-- | app/views/machines/show.html.erb | 3 |
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 %> |