diff options
Diffstat (limited to 'app/views/machines')
-rw-r--r-- | app/views/machines/index.html.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/machines/index.html.erb b/app/views/machines/index.html.erb index 8237518..3791f6c 100644 --- a/app/views/machines/index.html.erb +++ b/app/views/machines/index.html.erb @@ -1,4 +1,4 @@ -<p style="color: green"><%= notice %></p> +<% if not notice.nil? %><p style="color: green"><%= notice %></p><% end %> <h1>Pins</h1> @@ -8,5 +8,7 @@ <% end %> </div> +<p><%= pluralize(@machines.count, 'total pin') %></p> + <hr> <%= link_to "Add a pin", new_machine_path %> |