Sha256: c1f79b90fabdd0b32690f6ca223aceff3ae27e6e63e9e3f61b93ab3a189f0b03

Contents?: true

Size: 1.28 KB

Versions: 34

Compression:

Stored size: 1.28 KB

Contents

- @title = t('workarea.storefront.users.edit_address')

- content_for :breadcrumbs do
  %p.breadcrumbs__node-group
    %span.breadcrumbs__node{ itemprop: 'breadcrumb' }
      = link_to t('workarea.storefront.layouts.home'), root_path, rel: 'home', class: 'breadcrumbs__link'
    %span.breadcrumbs__node{ itemprop: 'breadcrumb' }
      = link_to t('workarea.storefront.users.account'), users_account_path, class: 'breadcrumbs__link'
    %span.breadcrumbs__node{ itemprop: 'breadcrumb' }
      %span.breadcrumbs__text= t('workarea.storefront.users.edit_address')

.view

  %h1= t('workarea.storefront.users.edit_address')

  - if @address.errors.any?
    - @address.errors.full_messages.each do |message|
      = render_message 'error', message, data: { analytics: validation_error_analytics_data('users').to_json }

  = form_tag users_address_path(@address.id), method: :patch, id: 'address_form', data: { account_dashboard_ajax: 'addresses' } do
    = render 'workarea/storefront/shared/address_fields', label: 'address', address: @address
    .grid.grid--auto
      %p.grid__cell= button_tag t('workarea.storefront.forms.save'), value: 'save_address', class: 'button'
      %p.grid__cell= link_to t('workarea.storefront.forms.cancel'), users_account_path, class: 'text-button', data: { dialog_close_button: '' }

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
workarea-storefront-3.4.45 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.4.44 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.4.43 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.4.42 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.4.41 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.4.40 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.4.39 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.4.38 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.4.37 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.4.36 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.4.35 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.4.34 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.4.33 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.4.32 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.4.31 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.4.30 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.4.29 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.4.28 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.4.27 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.4.26 app/views/workarea/storefront/users/addresses/edit.html.haml