%= form_for([namespace, Administrateur.new(user: User.new)], html: { class: "form" }) do |f| %>
<% if page.resource.errors.any? %>
<%= t(
"administrate.form.errors",
pluralized_errors: pluralize(page.resource.errors.count, t("administrate.form.error")),
resource_name: display_resource_name(page.resource_name, singular: true)
) %>
<% page.resource.errors.full_messages.each do |message| %>
- <%= message %>
<% end %>
<% end %>
<% page.attributes(controller.action_name).each do |title, attributes| -%>
<% end -%>
<%= f.submit %>
<% end %>