" +
if (type == 'notice' || type == 'both') && flash[:notice]
"
#{flash[:notice]}
"
else
''
end +
if (type == 'error' || type == 'both') && flash[:error ]
"
#{flash[:error]}
"
else
''
end +
"
"
end
# TODO: test
def search_box(opts={})
render_to_string(:partial=>'search/form', :locals => {:ajax => opts[:ajax], :type => opts[:type]})
end
end # ViewMethods
end # HtmlTags
end # Use
end # Zena