Sha256: 1e8e5dcf07305c6a609556a15a2ecdb8516292ab06bb301d39af571811407f84

Contents?: true

Size: 955 Bytes

Versions: 1

Compression:

Stored size: 955 Bytes

Contents

.settings ng-controller='SettingsController'
  = render partial: 'account/submenu'
  .cabinet_subnav
    .cabinet_subnav_active
      span = @group.title
    ul
      - ProfilePageType.enabled.each do |page_type|
        li class="#{'active' if @group.id == page_type.id}"
          = link_to_unless_current_span page_type.title, edit_account_profile_path(page_type: page_type.slug)

  .content ng-form="forms.profileForm"
    - case @group
    - when ProfilePageType.billing
      / Billing
      = render partial: 'fields_billing'
    - when ProfilePageType.mailing
      / Mailing
      = render partial: 'fields_mailing'
    - else
      / About me
      = render partial: 'fields_about'
    = render partial: 'popups'

= render partial: 'account/profiles/gdpr/panel' if feature_enabled?(:gdpr)

= content_for :javascript
  = javascript_include_tag 'account/profile'
  coffee:
    document.addEventListener 'DOMContentLoaded', ->
      Profile.init()

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/views/account/profiles/edit.html.slim