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

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

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