diff options
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 %> |