module ActionView::Helpers::TextHelper
def current_cycle(name = "default")
<%= item %>
">
<% @items.each do |item| %>
<% @items = [1,2,3,4] %>
<%# Alternate background colors %>
the current cycle string in more than one place.
for complex table highlighting or any other design need which requires
Returns the current cycle string after a cycle has been started. Useful
<% @items.each do |item| %>
<% @items = [1,2,3,4] %>
<%# Alternate background colors %>
the current cycle string in more than one place.
for complex table highlighting or any other design need which requires
Returns the current cycle string after a cycle has been started. Useful
def current_cycle(name = "default") cycle = get_cycle(name) cycle.current_value if cycle end