<% content_for :sidebar do %>
<%= render :partial => "shared/collections_sidebar" %>
<% end %>


<%= form_tag(explorer_collection_documents_path(current_database_name, current_collection_name), :method => :post) do %>
    <fieldset>
        <legend><%= link_to current_collection_name, explorer_collection_path(current_database_name, current_collection_name) %> / Edit Document</legend>
        <%= text_area_tag 'query', @query, :class => 'formatted' %>
        <%= submit_tag 'Save Document', :class => 'btn' %>
    </fieldset>  
<% end %>
<% content_for :sidebar do %>
<%= render :partial => "shared/collections_sidebar" %>
<% end %>


<%= form_tag(explorer_collection_documents_path(current_database_name, current_collection_name), :method => :post) do %>
    <fieldset>
        <legend><%= link_to current_collection_name, explorer_collection_path(current_database_name, current_collection_name) %> / New Document</legend>
        <%= text_area_tag 'query', @query, :class => 'formatted' %>
        <%= submit_tag 'Save Document', :class => 'btn' %>
    </fieldset>  
<% end %>
Fix typo from Edit to New on new page.
Fix typo from Edit to New on new page.
