Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynamic variable substitution #3

Closed
sendtopms opened this issue Aug 30, 2010 · 2 comments
Closed

dynamic variable substitution #3

sendtopms opened this issue Aug 30, 2010 · 2 comments
Milestone

Comments

@sendtopms
Copy link
Contributor

I am planning to use erlydtl for one my application. Thanks for the great work. I like to see support for dynamic variable substitution -- thats L1 = [{a, one}, {b,two}]
L2 = [{one, "This is one"}, {two, "this is two"}]

where
I want to do {% for K, V in L1 %}

{{ L2.V}}
{% endfor %}

Please excuse for bad example but it explains what it should be there.

This is kind of done by zotonic team http://code.google.com/p/zotonic/
Is it possible to support this use case? this is going to be very powerful.

@saleyn saleyn mentioned this issue Oct 23, 2012
@evanmiller
Copy link
Contributor

This is not present in Django and so will not be supported in ErlyDTL

@Andy-Richards
Copy link

Hi Evan, this has caught me out too. Could you suggest a solution? Would this be possible with a custom tag?

Many thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants