diff options
Diffstat (limited to 'app/views/machines/show.html.erb')
-rw-r--r-- | app/views/machines/show.html.erb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/machines/show.html.erb b/app/views/machines/show.html.erb index 4bba20c..584dac6 100644 --- a/app/views/machines/show.html.erb +++ b/app/views/machines/show.html.erb @@ -1,9 +1,12 @@ -<% if not notice.nil? %><p style="color: green"><%= notice %></p><% end %> +<% if not notice.nil? %><p style="color: green"><%= notice %></p> +<% end %> + +<h1><%= @machine.name %></h1> <%= render "form", machine: @machine %> <div> <%= link_to "Delete #{@machine.name} ❌", @machine, data: { turbo_method: :delete, - turbo_confirm: "Are you sure you want to remove #{@machine.name}?"} %> + turbo_confirm: "Are you sure you want to remove #{@machine.name}?" } %> </div> |