anchor.diff: -<% if logged_in? -%>
  +<%# if logged_in? -%>
   <%  
   # this partial renders a tabnav, you can call it in your views with:
   #   <%= tabnav :main % > (just the tabnav) 
  
positive.code:    t.named 'Data Extracts'
     t.titled "Data sources created by the users"
     t.links_to :controller => 'csvarchives'
    end
  
    add_tab do |t|
     t.named 'Groups'
     t.titled "Create groups to share things with"
     t.links_to :controller => 'work_groups'
    end
  
    add_tab do |t|
     t.named 'Forums'
     t.titled "Ask questions, help others"
     t.links_to :controller => 'forums_controller'
    end
    #  
    # you can use restful routes with:
    #
  
negative.code:   #   end
    # end 
           
   
  	add_tab do |t|
     t.named 'People'
     t.titled "Who's who in the MethodBox"
     t.links_to :controller => 'people'
    end unless !logged_in?
  
  
  	add_tab do |t|
     t.named 'Methods and Scripts'
     t.titled "Advice and scripts for data cleaning and statistical analysis"
     t.links_to :controller => 'scripts'
    end unless !logged_in?
  
  
    add_tab do |t|
     t.named 'Data Sources'
  