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

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

<% end %>
<%= f.label :profile %>
<%= f.text_field :profile %>
<%= f.submit %>
<% end %>