<% if resource.errors.any? %>
<%= I18n.t("errors.messages.registration.not_saved", count: resource.errors.count) %>
<% end %>