{% extends "base.html" %}
{% load i18n %}
+{% load blog_tags records_tags keyword_tags i18n mezzanine_tags %}
{% block meta_title %}{% trans "Home" %}{% endblock %}
{% comment %}
{% endblock %}
{% block main %}
-{% load blog_tags records_tags keyword_tags i18n mezzanine_tags %}
<div class="col-xs-6 col-md-6"><!-- Showcase-->
{% shop_recent_products limit=2 category="Showcase" as recent_products %}
{% errors_for add_product_form %}
-<form method="post" id="add-cart" class="shop-form">
- <!-- {% fields_for add_product_form %} -->
+<form method="post" id="add-cart" class="shop-form">{% csrf_token %}
+ <div style="display: none;">
+ {% fields_for add_product_form %}
+ </div>
<div class="form-actions">
<input type="submit" class="btn btn-primary btn-lg pull-right" name="add_cart" value="{% trans "Add to cart" %}">
{% if settings.SHOP_USE_WISHLIST %}