#error_explanation
.row
  .columns.medium-6
    %ul.accordion{ data: { accordion: true, 'deep-link': 'true', 'deep-link-smudge': 'true', 'allow-all-closed': 'true' } }
      %li.accordion-item{ data: { 'accordion-item': true } }
        %a.accordion-title{ href: '#update_username' }
          %h6 Update Username
        .accordion-content{ data: { 'tab-content': true } }
          = form_with model: current_user, url: update_username_users_path do |f|
            = f.text_field :username
            = f.submit 'Change Username', class: 'button success'
      %li.accordion-item{ data: { 'accordion-item': true } }
        %a.accordion-title{ href: '#update_password' }
          %h6 Update Password
        .accordion-content{ data: { 'tab-content': true } }
          = form_with model: current_user, url: update_password_users_path do |f|
            = f.label :current_password
            = f.password_field :current_password
            = f.label :password
            = f.password_field :password
            = f.label :password_confirmation
            = f.password_field :password_confirmation
            = f.submit 'Change Password', class: 'button success'

#error_explanation
.row
  .columns.medium-6
    %ul.accordion{ data: { accordion: true, 'deep-link': 'true', 'deep-link-smudge': 'true', 'allow-all-closed': 'true' } }
      %li.accordion-item{ data: { 'accordion-item': true } }
        %a.accordion-title{ href: '#update_username' }
          %h6 Update Username
        .accordion-content{ data: { 'tab-content': true } }
          = form_with model: current_user, url: update_username_users_path do |f|
            = f.label :username
            = f.text_field :username
            = f.submit 'Change Username', class: 'button success'
      %li.accordion-item{ data: { 'accordion-item': true } }
        %a.accordion-title{ href: '#update_password' }
          %h6 Update Password
        .accordion-content{ data: { 'tab-content': true } }
          = form_with model: current_user, url: update_password_users_path do |f|
            = f.label :current_password
            = f.password_field :current_password
            = f.label :password
            = f.password_field :password
            = f.label :password_confirmation
            = f.password_field :password_confirmation
            = f.submit 'Change Password', class: 'button success'

Add label to my_account update username
Add label to my_account update username
