{% extends "diet_optimizer_website/layout2.html" %} {% block content %}
{% csrf_token %}

Do you want to change something on your profile?


Save your favorite recipe options!



Activity Level

{{ form.activity_level.label }} {% if form.activity_level.errors %} {% for error in form.activity_level.errors %}

{{ error }}

{% endfor %} {% endif %}
{{ form.activity_level }}

Diet

{{ form.diet.label }} {% if form.diet.errors %} {% for error in form.diet.errors %}

{{ error }}

{% endfor %} {% endif %}
{{ form.diet }}

Intolerences

{{ form.intolerences.label }} {% if form.intolerences.errors %} {% for error in form.intolerences.errors %}

{{ error }}

{% endfor %} {% endif %}
{% if "None" in intolerences_name_list %} {% else %} {% endif %} {% for intolerence in form.intolerences|slice:"1:" %} {% endfor %}
None
None
{{intolerence}}

Favorite cuisines

{{form.cuisines.label}} {% if form.cuisines.errors %} {% for error in form.cuisines.errors %}

{{ error }}

{% endfor %} {% endif %}
{% for cuisine in form.cuisines %} {% if forloop.counter|divisibleby:10 %} {% endif %} {% endfor %}
{{cuisine}}

Favorite kinds of foods

{{form.rawGroups.label}} {% if form.rawGroups.errors %} {% for error in form.rawGroups.errors %}

{{ error }}

{% endfor %} {% endif %}
{% for group in form.rawGroups %} {% if forloop.counter|divisibleby:4 %} {% endif %} {% endfor %}
{{group}}

Usual time to cook

{{form.timeToCook.label}} {% if form.timeToCook.errors %} {% for error in form.timeToCook.errors %}

{{ error }}

{% endfor %} {% endif %}
{{form.timeToCook}}



{% endblock %}