- @title = t('workarea.storefront.users.change_password') .view %h1= t('workarea.storefront.users.change_password') = form_tag change_password_path, id: 'change_password_form', method: :patch do .property = label_tag :old_password, nil, class: 'property__name' do %span.property__text= t('workarea.storefront.users.old_password') .value= password_field_tag :old_password, nil, class: 'text-box', required: true, autocomplete: 'off' .property = label_tag :password, nil, class: 'property__name' do %span.property__text= t('workarea.storefront.users.new_password') .value= password_field_tag :password, nil, class: 'text-box', minlength: 7, required: true, autocomplete: 'off' .grid.grid--auto %p.grid__cell= button_tag t('workarea.storefront.users.change_password'), value: 'change_password', class: 'button' %p.grid__cell= link_to t('workarea.storefront.users.forgot_password'), forgot_password_path, class: 'text-button'