19 lines
1.1 KiB
Plaintext
19 lines
1.1 KiB
Plaintext
|
|
<div class="newsletter">
|
||
|
|
<% 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" %>
|
||
|
|
<strong><% if @product.has_updates_newsletter? %><%= t("txt.product.receive_product_updates") %><% else %><%= t("txt.product.receive_updates") %><% end %></strong>
|
||
|
|
<div><%= f.text_field :email, :value => t("txt.common.your_email"), :class => "email inline-label", :id => "product-newsletter-email" %></div>
|
||
|
|
<div id="product-newsleter-lists" class="subscription-lists-ct" style="display: none"><%= subscription_lists('product-page', @product) %></div>
|
||
|
|
<%= subscribe :small %>
|
||
|
|
<% end -%>
|
||
|
|
</div>
|
||
|
|
<div class="sharethis-ct">
|
||
|
|
<strong><%= t('txt.product.sharethis') %></strong>
|
||
|
|
<%= render :partial => "shared/sharethis" %>
|
||
|
|
</div>
|
||
|
|
<% if @product.is_featured? && 1 == 2 %>
|
||
|
|
<div class="fb-like">
|
||
|
|
<fb:like-box profile_id="103814186343723" width="190" height="100" stream="false" header="false"></fb:like-box>
|
||
|
|
</div>
|
||
|
|
<% end %>
|