%= form_for(@platform) do |f| %>
<% if @platform.errors.any? %>
<%= pluralize(@platform.errors.count, "error") %> prohibited this platform from being saved:
<% @platform.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= f.submit %>
<% end %>