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