% 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_include_tag 'croppie' %>
<%= stylesheet_link_tag 'croppie_styles' %>
<%= javascript_include_tag "users/registrations/edit" %>