.navbar.navbar-static-top
  .navbar-inner
    .container
      %a.btn.btn-navbar(data-target=".nav-collapse" data-toggle="collapse")
        %span.icon-bar
        %span.icon-bar
        %span.icon-bar
      %a.brand(href=root_path) Growstuff (development site)
      .container.nav-collapse
        %ul.nav
          %li= link_to "Crops", crops_path
          %li= link_to "Members", members_path
          %li= link_to "Posts", posts_path
          - if can? :create, Post
            %li= link_to("Post something", new_post_path)
          - if can? :create, Planting
            %li= link_to("Plant something", new_planting_path)
          %li.divider-vertical
          - if member_signed_in?
            %li.dropdown<
              %a.dropdown-toggle{'data-toggle' => 'dropdown', :href => member_path(current_member)}
                = current_member.login_name
                %b.caret
              %ul.dropdown-menu
                %li= link_to "Profile", member_path(current_member)
                %li= link_to "Settings", edit_member_registration_path
                %li= link_to "Sign out", destroy_member_session_path, :method => :delete
          - else
            %li.pull-right= link_to 'Sign up', new_member_registration_path
            %li.pull-right= link_to 'Sign in', new_member_session_path

.navbar.navbar-static-top
  .navbar-inner
    .container
      %a.btn.btn-navbar(data-target=".nav-collapse" data-toggle="collapse")
        %span.icon-bar
        %span.icon-bar
        %span.icon-bar
      %a.brand(href=root_path) Growstuff (development site)
      .container.nav-collapse
        %ul.nav
          %li= link_to "Crops", crops_path
          %li= link_to "Members", members_path
          %li= link_to "Posts", posts_path
          %li= link_to "Forums", forums_path
          - if can? :create, Post
            %li= link_to("Post something", new_post_path)
          - if can? :create, Planting
            %li= link_to("Plant something", new_planting_path)
          %li.divider-vertical
          - if member_signed_in?
            %li.dropdown<
              %a.dropdown-toggle{'data-toggle' => 'dropdown', :href => member_path(current_member)}
                = current_member.login_name
                %b.caret
              %ul.dropdown-menu
                %li= link_to "Profile", member_path(current_member)
                %li= link_to "Settings", edit_member_registration_path
                %li= link_to "Sign out", destroy_member_session_path, :method => :delete
          - else
            %li.pull-right= link_to 'Sign up', new_member_registration_path
            %li.pull-right= link_to 'Sign in', new_member_session_path

Add forums to top nav
Add forums to top nav
