> Why the template tag call {% get_percentage question.pk choice.pk %}
works inside the span tag, but doesn't work in style (width) attribute?
> What is wrong?

No idea. You haven't provided what your template tag does, or what the
rendered template looks like.

What does the final HTML look like?


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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to