multiline tt
아오 아래처럼 쓰면 모든 줄에 [% %]
로 안감싸도 되넹!
[% FOREACH group IN grouplist;
# loop => group iterator
"Groups:\n" IF loop.first;
FOREACH user IN group.userlist;
# loop => user iterator
"$loop.count: $user.name\n";
END;
# loop => group iterator
"End of Groups\n" IF loop.last;
END
%]
Written by Hyungsuk Hong
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Tt
Authors
evan carroll
1.035K
aanoaa
755
Related Tags
#tt
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#