diff options
Diffstat (limited to 'app/views/machines/index.html.erb')
-rw-r--r-- | app/views/machines/index.html.erb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/views/machines/index.html.erb b/app/views/machines/index.html.erb index a20a543..bde59c2 100644 --- a/app/views/machines/index.html.erb +++ b/app/views/machines/index.html.erb @@ -1,10 +1,14 @@ -<% if not notice.nil? %><p style="color: green"><%= notice %></p><% end %> +<% if not notice.nil? %><p style="color: green"><%= notice %></p> +<% end %> <h1>Pins</h1> <div id="machines"> <% @machines.each do |machine| %> - <%= render machine %> + <p id="<%= dom_id machine %>"> + <%= link_to machine.name, machine %> + <small><%= machine.edition %></small> + </p> <% end %> </div> |