hi,
i want to play with templates and submit them into a database. i cant figure out a way in neither phoenix.view or phoenix.template to render a template from a string instead of filename, any hints? thanks
hi,
i want to play with templates and submit them into a database. i cant figure out a way in neither phoenix.view or phoenix.template to render a template from a string instead of filename, any hints? thanks
thats it, thanks!
I think you can mark it as solved now
If the string is known at compile time, my alternative is faster. It’s a trade-off.
nice, i did not think about speed. but in my case i want to pull templates out
of a db, so they are not known.