{% extends 'base.html' %} {% block content %} {% if current_user.is_authenticated %} Hi {{ current_user.user_name }}! {% if current_user.masini %}
    {% for table_name, masina in current_user.masini.items() %}
  1. {{table_name}}
  2. {% if masina.table_alimentari.shape[0] > 0 %} {% for colName in masina.table_alimentari[0] %} {% endfor %} {% for row in masina.table_alimentari[1:] %} {% for col in row %} {% endfor %} {% endfor %}
    {{colName}}
    {{col}}
    {% else %} {% endif %} {% endfor %}
    add a car
{% else %}
  • add a car
  • {% endif %} {% else %} Please log in {% endif %} {%endblock%}