<%= form_for [:admin, @country], remote: true do |f| %> <% if @country.errors.any? %>

<%= pluralize(@country.errors.count, 'erreur') %> <%= I18n.t('prohibited_this_operation') %>:

<% end %>
<%= f.label :name %> <%= f.text_field(:name, :size => 50) %>
<%= f.submit I18n.t('validate') %> <% end %>