Sha256: 25fc50b1c99238fb9c4317ddf1962e0227d2d758f766858ac417b0fe72718e7e

Contents?: true

Size: 674 Bytes

Versions: 5

Compression:

Stored size: 674 Bytes

Contents

.email-interest-group
- if @email_interests.present?
  %p.email-interest-group__heading= t('workarea.storefront.users.edit.email_interests')
  - @email_interests.each do |group|
    %p.email-interest-group__sub-heading= group["name"]
    - group.interests.each do |id, interest|
      .button-property
        .value= check_box_tag "groups[][interests][#{id}]", interest, @user.has_email_interest?(interest)
        = label_tag "groups[][interests][#{id}]", nil, class: 'button-property__name' do
          %span.text= interest
    = hidden_field_tag 'groups[][id]', group._id if group._id.present?
    = hidden_field_tag 'groups[][name]', group.name if group.name.present?

Version data entries

5 entries across 5 versions & 1 rubygems

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