<commit_before>.sr-only
  =link_to t(".skip"), "#skipnav"
.navbar.navbar-default.navbar-fixed-top(role="navigation")
  .container
    .navbar-header
      %button.navbar-toggle(data-target="#navbar-collapse" data-toggle="collapse")
        %span.sr-only Toggle Navigation
        %span.icon-bar
        %span.icon-bar
        %span.icon-bar
      %a.navbar-brand(href=root_path)
        = image_tag("growstuff-brand.png", :size => "200x50", :alt => ENV['GROWSTUFF_SITE_NAME'])
      = form_tag crops_search_path, :method => :get, :id => 'navbar-search', :class => 'navbar-form pull-right' do
        .input
          = label_tag :term, "Search crop database:", :class => 'sr-only'
          = text_field_tag 'term', nil, :class => 'search-query input-medium form-control', :placeholder => 'Search crops'
          = submit_tag "Search", :class => 'btn sr-only'

    .navbar-collapse.collapse#navbar-collapse
      %ul.nav.navbar-nav.pull-right
        %li.dropdown#crops-menu<
          %a.dropdown-toggle{'data-toggle' => 'dropdown', :href => crops_path}
            Crops
            %b.caret
          %ul.dropdown-menu
            %li= link_to "Browse Crops", crops_path
            %li= link_to "Seeds", seeds_path
            %li= link_to "Plantings", plantings_path
            %li= link_to "Harvests", harvests_path
        %li.dropdown#community-menu<
          %a.dropdown-toggle{'data-toggle' => 'dropdown', :href => members_path}
            Community
            %b.caret
          %ul.dropdown-menu
            %li= link_to "Community Map", places_path
            %li= link_to "Browse Members", members_path
            %li= link_to "Posts", posts_path
            %li= link_to "Forums", forums_path
            %li= link_to "Support Growstuff", shop_path

        - if member_signed_in?
          %li.dropdown#yourstuff-menu<
            %a.dropdown-toggle{'data-toggle' => 'dropdown', :href => root_path}
              - if current_member.notifications.unread_count > 0
                Your Stuff (#{current_member.notifications.unread_count})
              - else
                #{current_member.login_name}
              %b.caret
            %ul.dropdown-menu
              %li= link_to "Profile", member_path(current_member)
              %li= link_to "Gardens", gardens_by_owner_path(:owner => current_member.slug)
              %li= link_to "Plantings", plantings_by_owner_path(:owner => current_member.slug)
              %li= link_to "Harvests", harvests_by_owner_path(:owner => current_member.slug)
              %li= link_to "Seeds", seeds_by_owner_path(:owner => current_member.slug)
              %li= link_to "Posts", posts_by_author_path(:author => current_member.slug)
              %li= link_to "Account", orders_path
              %li<commit_msg>Revert "Adding ids to navbar so PhantomJS can find them" Not needed - test issue was caused by wrong link text This reverts commit d65ab59d3583f2b15d06a861ea0604a7077683b3.<commit_after>.sr-only
  =link_to t(".skip"), "#skipnav"
.navbar.navbar-default.navbar-fixed-top(role="navigation")
  .container
    .navbar-header
      %button.navbar-toggle(data-target="#navbar-collapse" data-toggle="collapse")
        %span.sr-only Toggle Navigation
        %span.icon-bar
        %span.icon-bar
        %span.icon-bar
      %a.navbar-brand(href=root_path)
        = image_tag("growstuff-brand.png", :size => "200x50", :alt => ENV['GROWSTUFF_SITE_NAME'])
      = form_tag crops_search_path, :method => :get, :id => 'navbar-search', :class => 'navbar-form pull-right' do
        .input
          = label_tag :term, "Search crop database:", :class => 'sr-only'
          = text_field_tag 'term', nil, :class => 'search-query input-medium form-control', :placeholder => 'Search crops'
          = submit_tag "Search", :class => 'btn sr-only'

    .navbar-collapse.collapse#navbar-collapse
      %ul.nav.navbar-nav.pull-right
        %li.dropdown<
          %a.dropdown-toggle{'data-toggle' => 'dropdown', :href => crops_path}
            Crops
            %b.caret
          %ul.dropdown-menu
            %li= link_to "Browse Crops", crops_path
            %li= link_to "Seeds", seeds_path
            %li= link_to "Plantings", plantings_path
            %li= link_to "Harvests", harvests_path
        %li.dropdown<
          %a.dropdown-toggle{'data-toggle' => 'dropdown', :href => members_path}
            Community
            %b.caret
          %ul.dropdown-menu
            %li= link_to "Community Map", places_path
            %li= link_to "Browse Members", members_path
            %li= link_to "Posts", posts_path
            %li= link_to "Forums", forums_path
            %li= link_to "Support Growstuff", shop_path

        - if member_signed_in?
          %li.dropdown<
            %a.dropdown-toggle{'data-toggle' => 'dropdown', :href => root_path}
              - if current_member.notifications.unread_count > 0
                Your Stuff (#{current_member.notifications.unread_count})
              - else
                #{current_member.login_name}
              %b.caret
            %ul.dropdown-menu
              %li= link_to "Profile", member_path(current_member)
              %li= link_to "Gardens", gardens_by_owner_path(:owner => current_member.slug)
              %li= link_to "Plantings", plantings_by_owner_path(:owner => current_member.slug)
              %li= link_to "Harvests", harvests_by_owner_path(:owner => current_member.slug)
              %li= link_to "Seeds", seeds_by_owner_path(:owner => current_member.slug)
              %li= link_to "Posts", posts_by_author_path(:author => current_member.slug)
              %li= link_to "Account", orders_path
              %li
{'fraction_non_alphanumeric': 0.12891863332159212, 'fraction_numerical': 0.007044734061289186, 'mean_word_length': 2.368327402135231, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3727966', 'n_tokens_mistral': 1824, 'n_tokens_neox': 1757, 'n_words': 348}