% provide(:head_title, t("users.registrations.edit.head_title")) %>
<% provide(:container_class, "no-second-nav-container") %>
<%= render partial: "users/settings/sidebar" %>
<% if resource.errors.present? %>
<%= devise_error_messages! %>
<% end %>
<%= render partial: 'users/registrations/edit_partials/avatar' %>
<%= render partial: 'users/registrations/edit_partials/full_name' %>
<%= render partial: 'users/registrations/edit_partials/initials' %>
<%= render partial: 'users/registrations/edit_partials/external_id' %>
<%= render partial: 'users/registrations/edit_partials/email' %>
<%= render partial: 'users/registrations/edit_partials/password' %>
<%= render partial: 'users/registrations/edit_partials/2fa' %>
<% if Rails.application.config.x.connected_devices_enabled %>
<%= render partial: 'users/registrations/manage_devices' %>
<% end %>
<%=t "users.statistics.title" %>
-
<%= @user.statistics[:number_of_teams]%>
<%= t("users.statistics.team").pluralize(@user.statistics[:number_of_teams]) %>
-
<%= @user.statistics[:number_of_projects] %>
<%= t("users.statistics.project").pluralize(@user.statistics[:number_of_projects]) %>
-
<%= @user.statistics[:number_of_experiments] %>
<%= t("users.statistics.experiment").pluralize(@user.statistics[:number_of_experiments]) %>
-
<%= @user.statistics[:number_of_protocols] %>
<%= t("users.statistics.protocol").pluralize(@user.statistics[:number_of_protocols]) %>
<%= render partial: '2fa_modal' %>
<%= render partial: 'users/shared/user_avatars_modal' %>
<%= javascript_pack_tag 'custom/croppie' %>
<%= stylesheet_pack_tag 'custom/croppie_styles' %>
<%= javascript_include_tag "users/registrations/edit" %>