app/views/documents/new.html.erb in social_stream-documents-2.0.1 vs app/views/documents/new.html.erb in social_stream-documents-2.0.2
- old
+ new
@@ -1,9 +1,11 @@
<% content_for :title do %>
<%= "#{ current_subject.name }: #{ t('document.new.title') }" %>
<% end %>
-<%= render partial: 'toolbar/profile', locals: { subject: current_subject } %>
+<section id="new_document">
+ <%= render partial: 'toolbar/profile', locals: { subject: current_subject } %>
-<h1><%= t 'document.new.title' %></h1>
+ <h1><%= t 'document.new.title' %></h1>
-<%= render partial: 'common_documents/form', locals: { document: @document } %>
+ <%= render partial: 'common_documents/form', locals: { document: @document } %>
+</section>