Revision: 1342
Updated Code
at September 27, 2006 13:08 by gdonald
Updated Code
# Used to alternate row colors in a table def alt( s = '', s2 = '2' ) @alt_state = true if @alt_state.nil? @alt_state = !@alt_state @alt_state ? s2 : s end
Revision: 1341
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 27, 2006 13:08 by gdonald
Initial Code
# Used to alternate row colors in a table def alt( s = '', s2 = '2' ) @alt_state = true if @alt_state.nil? @alt_state = !@alt_state @alt_state ? s2 : s end
Initial URL
Initial Description
Initial Title
Rails alt row colors
Initial Tags
Initial Language
Ruby