diff options
Diffstat (limited to 'app/views/machines')
-rw-r--r-- | app/views/machines/index.html.erb | 3 | ||||
-rw-r--r-- | app/views/machines/show.html.erb | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/app/views/machines/index.html.erb b/app/views/machines/index.html.erb index 2c99524..8237518 100644 --- a/app/views/machines/index.html.erb +++ b/app/views/machines/index.html.erb @@ -8,4 +8,5 @@ <% end %> </div> -<%= link_to "New machine", new_machine_path %> +<hr> +<%= link_to "Add a pin", new_machine_path %> diff --git a/app/views/machines/show.html.erb b/app/views/machines/show.html.erb index 7870783..19e5f19 100644 --- a/app/views/machines/show.html.erb +++ b/app/views/machines/show.html.erb @@ -3,7 +3,5 @@ <%= render "form", machine: @machine %> <div> - <%= link_to "Back to machines", machines_path %> - - <%= button_to "Destroy this machine", @machine, method: :delete %> + <%= button_to "Delete #{@machine.name}", @machine, method: :delete %> </div> |