diff options
Diffstat (limited to 'app/views/machines/show.html.erb')
-rw-r--r-- | app/views/machines/show.html.erb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/machines/show.html.erb b/app/views/machines/show.html.erb new file mode 100644 index 0000000..1af79f9 --- /dev/null +++ b/app/views/machines/show.html.erb @@ -0,0 +1,10 @@ +<p style="color: green"><%= notice %></p> + +<%= render @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 %> +</div> |