{% extends "diet_optimizer_website/layout2.html" %} {% block content %} Hi {{ user.username }}, insert your information here to get your diet plan. (Visit Diet Settings to save your favorite recipe options.) User information {% if launch_popup %} Caution: incompatible food choice. The following raw food categories might contain foods incompatible with your diet or intolerences: {% for raw_food in impossible_foods_selected %} {{raw_food}} {% endfor %} Do you still wish to continue with these criterias? {% endif %} {{form.cuisines.label}} {% if form.cuisines.errors %} {% for error in form.cuisines.errors %} {{ error }} {% endfor %} {% endif %} All {% for cuisine in form.cuisines %} {{cuisine}} {% if forloop.counter|divisibleby:10 %} {% endif %} {% endfor %} {{form.recipeTypes.label}} {% if form.recipeTypes.errors %} {% for error in form.recipeTypes.errors %} {{ error }} {% endfor %} {% endif %} {% for recipeType in form.recipeTypes %} {{recipeType}} {% endfor %} {{form.rawGroups.label}} {% if form.rawGroups.errors %} {% for error in form.rawGroups.errors %} {{ error }} {% endfor %} {% endif %} All {% for group in form.rawGroups %} {{group}} {% if forloop.counter|divisibleby:4 %} {% endif %} {% endfor %} {{form.objectiveNutrition.label}} {% if form.objectiveNutrition.errors %} {% for error in form.objectiveNutrition.errors %} {{ error }} {% endfor %} {% endif %} {% for objective in form.objectiveNutrition %} {{objective}} {% endfor %} {{form.objectiveMinMax.label}} {% if form.objectiveMinMax.errors %} {% for error in form.objectiveMinMax.errors %} {{ error }} {% endfor %} {% endif %} {% for objective in form.objectiveMinMax %} {{objective}} {% endfor %} Do you want to change calories ranges (Kcal)? {{form.calLow}} {{form.calUp}} Do you want to change protein ranges (g)? {{form.protLow}} {{form.protUp}} Do you want to change carb ranges (g)? {{form.carbLow}} {{form.carbUp}} Do you want to change fat ranges (g)? {{form.fatLow}} {{form.fatUp}} {{form.time.label}} {% if form.time.errors %} {% for error in form.time.errors %} {{ error }} {% endfor %} {% endif %} {{form.time}} {{form.peculiar_recipe.label}} {% if form.peculiar_recipe.errors %} {% for error in form.peculiar_recipe.errors %} {{ error }} {% endfor %} {% endif %} {{form.peculiar_recipe}} {% if userDB.accepts_popups %} {% else %} {% endif %} {% load static %} {% endblock %}
The following raw food categories might contain foods incompatible with your diet or intolerences:
{{raw_food}}
Do you still wish to continue with these criterias?
{{ error }}