Sha256: f3796da362296e34bb110e5706d5cfdd019ffeecf7ccafcee220057b2848f0e7

Contents?: true

Size: 410 Bytes

Versions: 5

Compression:

Stored size: 410 Bytes

Contents

%tr
  %th
    %span= t('workarea.storefront.users.email_preferences.interests')
  %td
    - if @user.email_interests.present?
      %ul.inline-list
        - @user.email_interests.each.with_index(1) do |(_id, interest), index|
          %li<
            #{interest}
            - if index != @user.email_interests.size
              ,
    - else
      %p= t('workarea.storefront.users.email_preferences.none')

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
workarea-mail_chimp-3.1.0 app/views/workarea/storefront/users/accounts/_email_interests.html.haml
workarea-mail_chimp-3.0.5 app/views/workarea/storefront/users/accounts/_email_interests.html.haml
workarea-mail_chimp-3.0.4 app/views/workarea/storefront/users/accounts/_email_interests.html.haml
workarea-mail_chimp-3.0.3 app/views/workarea/storefront/users/accounts/_email_interests.html.haml
workarea-mail_chimp-3.0.2 app/views/workarea/storefront/users/accounts/_email_interests.html.haml