Hi everyone,

Im trying figure out how to add a <li> and <span> tag to this helper for my tabs.

Code:
def tab(label, options = {})
	if controller.controller_name =~ /#{options[:controller].split('/').last}/ && controller.action_name =~ /#{options[:action].split('/').last}/
	  content_tag :li, link_to(label, options, {"class"=> "active"}), {"class"=> "active"}
	else
	  content_tag :li, link_to(label, options)
	end
  end
Im trying to put in a blank span after the first li - so that when it is active on a certain page, it will be highlighted using the span. But Im not sure what syntax I need to put in to get it to work?

Any ideas would be greatly appreciated!