<%= form_for(@test) do |f| %> <% if @test.errors.any? %>

<%= pluralize(@test.errors.count, "error") %> prohibited this test from being saved:

<% end %>
<%= f.label :price %>
<%= f.text_field :price %>
<%= f.label :name %>
<%= f.text_area :name %>
<%= f.submit %>
<% end %>