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