<%= render 'shared/settings_nav' %>

Profile

<%= form_for current_user, url: update_contact_settings_profile_index_path, method: :patch, html: { autocomplete: 'off', class: 'space-y-4' } do |f| %>
<%= f.label :first_name, class: 'label' %> <%= f.text_field :first_name, required: true, class: 'base-input' %>
<%= f.label :last_name, class: 'label' %> <%= f.text_field :last_name, required: true, class: 'base-input' %>
<%= f.label :email, 'Email', class: 'label' %> <%= f.email_field :email, autocomplete: 'off', class: 'base-input' %>
<%= f.button button_title(title: 'Update', disabled_with: 'Updating'), class: 'base-button' %>
<% end %>

Change Password

<%= form_for current_user, url: update_password_settings_profile_index_path, method: :patch, html: { autocomplete: 'off', class: 'space-y-4' } do |f| %>
<%= f.label :password, 'New password', class: 'label' %> <%= f.password_field :password, autocomplete: 'off', class: 'base-input' %>
<%= f.label :password_confirmation, 'Confirm new password', class: 'label' %> <%= f.password_field :password_confirmation, autocomplete: 'off', class: 'base-input' %>
<%= f.button button_title(title: 'Update', disabled_with: 'Updating'), class: 'base-button' %>
<% end %>