Thank Daniel
Le lundi 22 septembre 2014 14:05:33 UTC+2, Daniel Rus Morales a écrit : > > Use the attribute ‘label’ rather than ‘label_tal’. The latter is the HTML > element. > > Do: > > {% if field.label != 'Tags' %} > {{ field.label_tag }} > {% endif %} > > Cheers > > On 22 Sep 2014, at 10:51, Salvatore DI DIO <salvato...@gmail.com > <javascript:>> wrote: > > Hello, > > I woulk like to test field.label_tag in the fieldset.html template > > For example I want to do: > > {% if field.label_tag != 'Tags' %} > {{ field.label_tag }} > {% endif %} > > But that seems to not work > > Thanks for your suggestions > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users...@googlegroups.com <javascript:>. > To post to this group, send email to django...@googlegroups.com > <javascript:>. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/f49e012b-34f7-4ca6-adf4-9663a9a626af%40googlegroups.com > > <https://groups.google.com/d/msgid/django-users/f49e012b-34f7-4ca6-adf4-9663a9a626af%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bbd49f0d-2a3b-4b28-a8e5-5d34d6023f2f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.