{% extends "layout.html" %} {% block title %}Login Example{% endblock %} {% block page_content %}

Hello {{ current_user.username }} here is your current wishlist:

{% if wishlist_size > 0: %}
{{ remove_form.csrf_token }}

{{ remove_form.item_id_remove.label }} {{ remove_form.item_id_remove(class = "field_order_by") }}

clear all? {{ remove_form.clear_all }} {{ remove_form.submit(class = "orange_button") }}

You have {{ wishlist_size }} items in your wishlist

{% endif %} {% if wishlist_size <= 0: %}

Your wishlist is empty

mountains
{% endif %} {% for item in wishlist_list %}
product image

{{ item.product_name }}

price: £{{ item.product_price }}

item id: {{ item.product_id }}

{% endfor %}
{% endblock %}