Sha256: ca61c62797cea8178850b24310d8d0d06c11add51cf9f90b7c4bb4a43e04aa82

Contents?: true

Size: 1.21 KB

Versions: 28

Compression:

Stored size: 1.21 KB

Contents

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

- content_for :breadcrumbs do
  %p.breadcrumbs__node-group
    %span.breadcrumbs__node
      = link_to t('workarea.storefront.layouts.home'), root_path, rel: 'home', class: 'breadcrumbs__link'
    %span.breadcrumbs__node
      = link_to t('workarea.storefront.users.account'), users_account_path, class: 'breadcrumbs__link'
    %span.breadcrumbs__node
      %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

28 entries across 28 versions & 1 rubygems

Version Path
workarea-storefront-3.5.27 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.5.26 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.5.25 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.5.23 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.5.22 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.5.21 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.5.20 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.5.19 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.5.18 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.5.17 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.5.16 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.5.15 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.5.14 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.5.13 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.5.12 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.5.11 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.5.10 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.5.9 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.5.8 app/views/workarea/storefront/users/addresses/edit.html.haml
workarea-storefront-3.5.7 app/views/workarea/storefront/users/addresses/edit.html.haml