Profile
<%= render 'navigation' %>
<%= form_for current_user, url: update_email_settings_profile_index_path, method: :patch, html: { autocomplete: 'off', class: 'space-y-4' } do |f| %>
<% if current_user.pending_reconfirmation? %>
Currently waiting confirmation
Unconfirmed email: <%= current_user.unconfirmed_email %>
<% end %>
<%= f.label :email, 'New email', class: 'label' %>
<%= f.email_field :email, autocomplete: 'off', class: 'base-input' %>
<%= f.label :current_password, 'Current password', class: 'label' %>
<%= f.password_field :current_password, autocomplete: 'off', class: 'base-input' %>
<%= f.button button_title, class: 'base-button' %>
<% end %>