How to extends from variable?

31 views
Skip to first unread message

till haxor

unread,
Oct 13, 2014, 9:22:57 AM10/13/14
to chica...@googlegroups.com
Hi team,
i need to pass variable into "context" for use in extends tag, can any help?

Example:

% controller action
index('GET', []) ->
    {ok,[{layout,"mylayout.html"}]}.

% in the template
{% extends layout %}

till haxor

unread,
Oct 27, 2014, 11:38:54 PM10/27/14
to chica...@googlegroups.com

can2nac

unread,
Oct 28, 2014, 11:05:01 AM10/28/14
to chica...@googlegroups.com
just puss as if there were no extends

On Tuesday, October 28, 2014 6:38:54 AM UTC+3, till haxor wrote:
Reply all
Reply to author
Forward
0 new messages