<%= f.object.errors[:first_name].first %>
<% end %><%= f.object.errors[:last_name].first %>
<% end %><%= f.object.errors[:email].first %>
<% end %> <% if current_user.try(:pending_reconfirmation?) %> <% end %><%= t('signature') %>
<% signature = UserConfigs.load_signature(current_user) %> <% if signature %><%= t('initials') %>
<% initials = UserConfigs.load_initials(current_user) %> <% if initials %><%= t('change_password') %>
<%= form_for current_user, url: update_password_settings_profile_index_path, method: :patch, html: { autocomplete: 'off' } do |f| %> <%= f.label :password, t('new_password'), class: 'label' %> <%= f.password_field :password, autocomplete: 'off', class: 'base-input peer w-full', required: true, 'aria-describedby': (f.object.errors[:password].any? ? 'profile_password_error' : nil), 'aria-invalid': (f.object.errors[:password].any? ? 'true' : nil) %> <% if f.object.errors[:password].any? %><%= f.object.errors[:password].first %>
<% end %><%= f.object.errors[:password_confirmation].first %>
<% end %><%= f.object.errors[:current_password].first %>
<% end %> <% if Accounts.can_send_emails?(current_account) %> <%= t('dont_remember_your_current_password_click_here_to_reset_it_html') %> <% end %><%= t('two_factor_authentication') %>
<%= svg_icon('circle_check', class: 'stroke-success inline flex-none w-5 h-5') %> <%= t('2fa_has_been_configured') %>
🔓 <%= t('remove_2fa') %> <% else %><%= svg_icon('info_circle', class: 'stroke-warning inline flex-none w-5 h-5') %> <%= t('2fa_is_not_configured') %>
🔒 <%= t('set_up_2fa') %> <% end %>