From d1a328f413f83a33398a3b1682c8a8327184b2b0 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Tue, 14 Sep 2021 17:25:37 -0400 Subject: tidy up lists --- app/views/machines/index.html.erb | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) (limited to 'app/views/machines/index.html.erb') diff --git a/app/views/machines/index.html.erb b/app/views/machines/index.html.erb index 33e279b..5abd2c2 100644 --- a/app/views/machines/index.html.erb +++ b/app/views/machines/index.html.erb @@ -1,13 +1,22 @@

Pinball Machines

+ + + + + + + + <% @machines.each do |machine| %> + + + + + <% end %> + +
NameEdition
<%= link_to machine.name, edit_machine_path(machine) %><%= machine.edition %>
+ +

<%= @machines.size %> available machines

- - -<%= link_to "Add Machine", new_machine_path %> +<%= link_to "+ Add Machine", new_machine_path %> -- cgit 1.4.1