{% extends "profiles/base_profile.html" %} {% block title %}Subscriptions - {{ super() }}{% endblock %} {% block content_profile %}

My vendors ({{ current_user.vendors|length }})

{% if current_user.vendors %} {% for vendor in current_user.vendors %} {% endfor %}
{{ vendor.name | humanize }} {% if vendor in current_user.vendors %} {% else %} {% endif %}
{% else %}

You have no subscription yet, click here to view the entire list of vendors and products.

{% endif %}

My products ({{ current_user.products|length }})

{% if current_user.products %} {% for product in current_user.products %} {% endfor %}
{{ product.name | humanize }} {% if product in current_user.products %} {% else %} {% endif %}
{% else %}

You have no subscription yet, click here to view the entire list of vendors and products.

{% endif %}
{% endblock %}