{% extends "base.html" %} {% block navbar %} {% endblock %} {% block content %}
{% if results == None and query == None %}

Sorry, you need to search for an ingredient.

{% endif %} {% if results == None and query != None %}

Sorry, I couldn't find any results with {% for entry in query %} {{ entry }}{% endfor %}.
If you are searching for multiple parts/ingredients, have you tried separating them with a comma (",")?

{% endif %} {% if results != None %}

Ingredients: {% for entry in query %} {{ entry }}{% endfor %}

{% for result in results %}

{{ result.0 }}


Percentage of Ingredients:

Ingredients:

{% for part in result.2 %} {{ part }}
{% endfor %}
{% endfor %} {% endif %}
{% endblock %}