<%= render :partial => 'spree/admin/shared/configuration_menu' %>

<%= t('mailchimp_settings') %>

<%= t("mailchimp_api_key") %>: <%= Spree::Config[:mailchimp_api_key] %>
<%= t("mailchimp_list_id") %>: <%= Spree::Config[:mailchimp_list_id] %>

<%= t("mailchimp_double_opt_in") %>: <%= Spree::Config[:mailchimp_double_opt_in]? t('yes') : t('no') %>

<%= t("mailchimp_send_welcome") %>: <%= Spree::Config[:mailchimp_send_welcome]? t('yes') : t('no') %>

<%= t("mailchimp_send_notify") %>: <%= Spree::Config[:mailchimp_send_notify]? t('yes') : t('no') %>

<% unless Spree::Config[:mailchimp_merge_vars].blank? %>

<%= t("mailchimp_merge_vars") %>

<%= raw Spree::Config[:mailchimp_merge_vars].gsub(/,/, '
') %>

<% end %>

<%= link_to_with_icon 'edit', t("edit"), edit_admin_mail_chimp_settings_path %>