implement r:def
Reported by factorypreset | May 19th, 2009 @ 06:04 PM
genshi's py:def allows you to define blocks of template code that can be reused. renshi should be able to do this too:
See http://genshi.edgewall.org/wiki/Documentation/xml-templates.html#id4
Comments and changes to this ticket
-
Nicholas Faiz July 12th, 2009 @ 07:54 PM
- Assigned user set to Nicholas Faiz
- State changed from new to invalid
Not needed in the ruby world (a helper can be just as effective).
-
Nicholas Faiz July 28th, 2009 @ 06:18 PM
- State changed from invalid to open
Opening this again as it will be helpful in other frameworks which don't have rails helpers.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Renshi is a templating language for Ruby which is unobtrusive in HTML and XHTML structures - http://github.com/biv/renshi/tree/master