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