blob: bde59c285209191ea1a38052314fa3505b9f41c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<% if not notice.nil? %><p style="color: green"><%= notice %></p>
<% end %>
<h1>Pins</h1>
<div id="machines">
<% @machines.each do |machine| %>
<p id="<%= dom_id machine %>">
<%= link_to machine.name, machine %>
<small><%= machine.edition %></small>
</p>
<% end %>
</div>
<p><%= pluralize(@machines.count, 'total pin') %></p>
<%= link_to "Add a pin", new_machine_path %>
|