%body
  %header.navbar.navbar-fixed-top.navbar-inverse
    .container
      = link_to "Ecotone", root_path, id: "logo"
      %nav
        %ul.nav.navbar-nav.navbar-right
          - if logged_in?
            - if admin?(current_user)
              %li= link_to "Users", users_path
            %li.dropdown
              %a.dropdown-toggle{"data-toggle" => "dropdown", :href => "#"}
                = current_user.name
                %b.caret
              %ul.dropdown-menu
                %li= link_to "Profile", current_user
                %li= link_to "Update Account", edit_user_path(current_user)
                %li.divider
                %li= link_to "Log out", logout_path, method: "delete"
          - else
            %li= link_to "Log in", login_path

%header.navbar.navbar-fixed-top.navbar-inverse
  .container
    = link_to "Ecotone", root_path, id: "logo"
    %nav
      %ul.nav.navbar-nav.navbar-right
        - if logged_in?
          - if admin?(current_user)
            %li= link_to "Users", users_path
          %li.dropdown
            %a.dropdown-toggle{"data-toggle" => "dropdown", :href => "#"}
              = current_user.name
              %b.caret
            %ul.dropdown-menu
              %li= link_to "Profile", current_user
              %li= link_to "Update Account", edit_user_path(current_user)
              %li.divider
              %li= link_to "Log out", logout_path, method: "delete"
        - else
          %li= link_to "Log in", login_path

Remove duplicate body tag from header partial.
Remove duplicate body tag from header partial.
