how to make a if statement in a template?

Asked by marc

Hi,

I would like to know if it's possible to do something like:
#{if user.country == country.id}

such as the way you can do
#{list items:countries, as:'country'}
blabla
#{/list}

Or the only way is I use %{ }% ?

Question information

Language:
English Edit question
Status:
Solved
For:
play framework Edit question
Assignee:
No assignee Edit question
Solved by:
marc
Solved:
Last query:
Last reply:
Revision history for this message
marc (marc-ttux) said :
#1