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:10:26 -0500
committerBen Harris <ben@tilde.team>2022-01-15 12:10:26 -0500
commit2c8c227493509175fcdbcba3e6a85f8b954a169e (patch)
tree56c95cb471004fef1bfa4c99e93fdec1716e3840 /app/views/machines/show.html.erb
init
Diffstat (limited to 'app/views/machines/show.html.erb')
-rw-r--r--app/views/machines/show.html.erb10
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>