Hacker News new | past | comments | ask | show | jobs | submit login

You can call functions and methods in templates, and you can use if else, they actually have all the tools you need to do things like provide helper functions and produce a full html select with something like:

    {{ select "Order" "form_name" .value .options }}
Granted those helper functions don't exist in the base templates, but the tools are there to build them.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: