Permalink
Browse files

Wrong class on article in some admin document partials.

Both the section and article had document_view class which led to
styles being applied incorrectly.
  • Loading branch information...
1 parent 2a34414 commit 78a18bee4d415b7d1870aa72e590b2d78b5e570f @floehopper floehopper committed Jan 30, 2012
@@ -1,4 +1,4 @@
-<article class="document_view">
+<article class="document">
<%= render partial: "standard_elements", locals: { document: document } %>
<%= render partial: "documents/attachments", locals: { document: document } %>
@@ -1,4 +1,4 @@
-<article class="document_view">
+<article class="document">
<%= render partial: "standard_elements", locals: { document: document } %>
<p>Publication date: <span class="publication_date"><%= document.publication_date.to_s(:long_ordinal) %></span></p>

0 comments on commit 78a18be

Please sign in to comment.