<%= nav_bar brand: "Clio", brand_link: databases_path,  responsive: true do %>
   <%= menu_group do %>
    <%= menu_item "Home", databases_path %>
    <%= menu_divider %>
      <% @databases.each do |database| %>
      <%= drop_down "#{database.name}" do %>
        <%= menu_item "Master", database_path(database.name, db_type: :master) %>
        <%= menu_item "Replica", database_path(database.name, db_type: :replica) %>
      <% end %>
      <% end %>
   <% end %>
<% end %>
