%= content_for :head do %> <%= javascript_include_tag "jquery.validate.min" %> <% end -%> <%= render :partial => 'spree/admin/shared/configuration_menu' %>
<%= t('mailchimp_api_key') %> <%= text_field_tag('preferences[mailchimp_api_key]', Spree::Config[:mailchimp_api_key], :size => 46, :maxlength => 256, :class => 'email') %>
<%= t('mailchimp_list_id') %> <%= text_field_tag('preferences[mailchimp_list_id]', Spree::Config[:mailchimp_list_id], :maxlength => 256, :class => 'email') %>
<%= check_box_tag('preferences[mailchimp_double_opt_in]', "1", Spree::Config[:mailchimp_double_opt_in]) %> <%= t('mailchimp_double_opt_in') %>
<%= check_box_tag('preferences[mailchimp_send_welcome]', "1", Spree::Config[:mailchimp_send_welcome]) %> <%= t('mailchimp_send_welcome') %>
<%= check_box_tag('preferences[mailchimp_send_notify]', "1", Spree::Config[:mailchimp_send_notify]) %> <%= t('mailchimp_send_notify') %>
<%= t('mailchimp_merge_vars') %> <%= text_field_tag('preferences[mailchimp_merge_vars]', Spree::Config[:mailchimp_merge_vars], :size => 44) %> <%= t('mailchimp_merge_vars_help') %>
<%= button t('save_preferences') %>