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