Re: blocktrans inside a with tag

2012-08-15 Thread Melvyn Sopacua
On 15-8-2012 19:27, ernando wrote: > I just checked provided code - and it works ok (1.4 Django). Are u using > the latest version or 1.3 one? Actually, my reply was a bit in a hurry cause I was on my way out. The dollar sign means nothing to python or django templates, so it is just raw text. J

Re: blocktrans inside a with tag

2012-08-15 Thread dipo . elegbede
H Sent from my BlackBerry wireless device from MTN -Original Message- From: ernando Sender: django-users@googlegroups.com Date: Wed, 15 Aug 2012 10:27:30 To: Reply-To: django-users@googlegroups.com Subject: Re: blocktrans inside a with tag Sorry, didn't catch it :) I

Re: blocktrans inside a with tag

2012-08-15 Thread ernando
Sorry, didn't catch it :) I just checked provided code - and it works ok (1.4 Django). Are u using the latest version or 1.3 one? -Dmitry -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups

Re: blocktrans inside a with tag

2012-08-15 Thread Melvyn Sopacua
On 15-8-2012 16:26, ernando wrote: > I really didn't try to use blocktrans and with tags together but why do > use val variable value with $ sign? Try just {{val}} one - it works ok for > me. Because it's a monetary ammount? -- Melvyn Sopacua -- You received this message because you are subs

Re: blocktrans inside a with tag

2012-08-15 Thread ernando
I really didn't try to use blocktrans and with tags together but why do use val variable value with $ sign? Try just {{val}} one - it works ok for me. - Dmitry On Tuesday, August 14, 2012 2:41:16 AM UTC+3, Jason Buckner wrote: > > I would like to use a blocktrans tag inside a with tag so I can

blocktrans inside a with tag

2012-08-13 Thread Jason Buckner
I would like to use a blocktrans tag inside a with tag so I can dynamically pass values to multiple blocktrans blocks. For instance: {% with cost="250" %} {% blocktrans with val=cost %} Blah blah ${{val}} {% endblocktrans %} . . . {% blocktrans with val=cost %} Blah blah ${{va