Skip to content

Commit

Permalink
Wrong class on article in some admin document partials.
Browse files Browse the repository at this point in the history
Both the section and article had document_view class which led to
styles being applied incorrectly.
  • Loading branch information
floehopper committed Jan 30, 2012
1 parent 2a34414 commit 78a18be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/admin/consultations/_document.html.erb
@@ -1,4 +1,4 @@
<article class="document_view"> <article class="document">
<%= render partial: "standard_elements", locals: { document: document } %> <%= render partial: "standard_elements", locals: { document: document } %>
<%= render partial: "documents/attachments", locals: { document: document } %> <%= render partial: "documents/attachments", locals: { document: document } %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/publications/_document.html.erb
@@ -1,4 +1,4 @@
<article class="document_view"> <article class="document">
<%= render partial: "standard_elements", locals: { document: document } %> <%= render partial: "standard_elements", locals: { document: document } %>


<p>Publication date: <span class="publication_date"><%= document.publication_date.to_s(:long_ordinal) %></span></p> <p>Publication date: <span class="publication_date"><%= document.publication_date.to_s(:long_ordinal) %></span></p>
Expand Down

0 comments on commit 78a18be

Please sign in to comment.