[Nitro] how to initialize @color and make it visible into the template?

George Moschovitis george.moschovitis at gmail.com
Tue Jul 10 02:57:25 EDT 2007


>
>
> <div style="color: #{val(:color)}">
>

even nicer:

<div style="color: #{var :color}">

but we need a better name for 'var'

-g.


-- 
http://phidz.com
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20070710/0f3f063b/attachment.html 


More information about the Nitro-general mailing list