<% remote_form_for newsletter_subscription("product-page"), :html => { :id => "new_subscription_product", :onsubmit => "if (!validate_newsletter_form(this)) return false" } do |f| -%> <%= f.hidden_field :subscription_location_id %> <%= hidden_field_tag "form_id", "#new_subscription_product" %> <% if @product.has_updates_newsletter? %><%= t("txt.product.receive_product_updates") %><% else %><%= t("txt.product.receive_updates") %><% end %>
<%= f.text_field :email, :value => t("txt.common.your_email"), :class => "email inline-label", :id => "product-newsletter-email" %>
<%= subscribe :small %> <% end -%>
<%= t('txt.product.sharethis') %> <%= render :partial => "shared/sharethis" %>
<% if @product.is_featured? && 1 == 2 %>
<% end %>