<% if not notice.nil? %>

<%= notice %>

<% end %>

Pins

<% @machines.each do |machine| %> <%= render machine %> <% end %>

<%= pluralize(@machines.count, 'total pin') %>


<%= link_to "Add a pin", new_machine_path %>