Hi,
First of all I would say that I think you should rethink how you store the ingredients. What I would do is create a recipe model that has a number of ingredients (an ingredient model with a foreign key to the recipe). Therefor you would be able to do this in your template:
<h4>Ingredients</h4>
<ul>
{% for ingredient in receta.ingredients %}
</ul>
However - if you want to continue with your solution with a fixed number of ingredients you would be able to do this:
<h4>Ingredients</h4>
<ul>
<li type="disc">{{ receta.ingrediente_1 }}</li>
{% if receta.ingrediente_2 %}<li type="disc">{{ receta.ingrediente_2 }}</li>{%endif%}
{% if receta.ingrediente_3 %}<li type="disc">{{ receta.ingrediente_3 }}</li>{%endif%}
{% if receta.ingrediente_4 %}<li type="disc">{{ receta.ingrediente_4 }}</li>{%endif%}
</ul>
This code assumes that at least ONE ingredient should be present in each recipe. The others are added when needed.
Regards,
Andréas