search for: draw_left_nav_li

Displaying 1 result from an estimated 1 matches for "draw_left_nav_li".

2006 Feb 16
0
RE: Applying list-item format depending on action (Diego Scataglini)
...|idx, pparams| -%> <%= "<li #{current_id_select(pparams[0], pparams[1])}>#{idx}</li>" %> <% end -%> I would do this if the list of links/li was dynamic or db driven. Then again if I was doing this very often I would probably create a component or helper like draw_left_nav_li or something like that that would encapsulate the whole thing. I guess it depends. :D Diego Scataglini