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

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

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