Sha256: 3e376034a21e635fa9c3ddc80bb205d008604179a598e4940d6b4c3b8cbb2770

Contents?: true

Size: 1.34 KB

Versions: 5

Compression:

Stored size: 1.34 KB

Contents

- @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

    .grid
      .grid__cell.grid__cell--50-at-medium.grid__cell--33-at-wide
        .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'
            = inline_svg('workarea/storefront/icons/eye.svg', class: 'value__icon')

    .grid
      .grid__cell.grid__cell--50-at-medium.grid__cell--33-at-wide
        .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'
            = inline_svg('workarea/storefront/icons/eye.svg', class: 'value__icon')

    .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'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
workarea-nvy_theme-1.2.1 app/views/workarea/storefront/users/passwords/change.html.haml
workarea-nvy_theme-1.2.0 app/views/workarea/storefront/users/passwords/change.html.haml
workarea-nvy_theme-1.1.4 app/views/workarea/storefront/users/passwords/change.html.haml
workarea-nvy_theme-1.1.3 app/views/workarea/storefront/users/passwords/change.html.haml
workarea-nvy_theme-1.1.2 app/views/workarea/storefront/users/passwords/change.html.haml