{% extends "oscar/customer/baseaccountpage.html" %} {% load image_tags %} {% load i18n %} {% load widget_tweaks %} {% block breadcrumbs %} {% endblock %} {% block tabcontent %} {% if form.total_form_count %}
{{ form.management_form }} {% csrf_token %} {% for subform in form %} {% with line=subform.instance product=subform.instance.product %} {% endwith %} {% endfor %}
{% trans 'Product' %} {% trans 'Quantity' %} {% trans 'Action' %}
{% if product %} {% with image=product.primary_image %} {% oscar_thumbnail image.original "100x100" upscale=False as thumb %} {% if product.is_public %} {{ product.get_title }} {% else %} {{ product.get_title }} {% endif %} {% endwith %} {% endif %} {% if product and product.is_public %} {{ line.get_title }} {% else %} {{ line.get_title }} ({% trans 'Not available anymore' %}) {% endif %} {% for field in subform %} {% render_field field class+="form-control" %} {% for error in field.errors %}
  • {{ error }}
{% endfor %} {% endfor %}
{% else %} {% trans "Your wish list is empty." %} {% endif %} {% endblock tabcontent %}