Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

dynamic variable substitution #3

Closed
sendtopms opened this Issue · 2 comments

3 participants

@sendtopms

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 referenced this issue
Closed

locale #47

@evanmiller
Owner

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

@evanmiller evanmiller closed this
@Andy-Richards

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
Something went wrong with that request. Please try again.