hi, i am writting a generic create object view for my recipe model.
i can get the form display well using this kind of code :

<p><label for="name">Nom de la recette</label> {{form.nom}} </p>
ect ..,
But is there a way of automatically checking if {{ form.nom }} is a
recquired field ? (and therefore put a star near it like this).

<p><label for="name">Nom de la recette<span
class="recquired">*</span></label> {{form.nom}} </p>

Thanks.

Reply via email to