Commit 7590a7c48ec743ef128986b34779b66629c752d3

Authored by Daniela Feitosa
1 parent b8ade540

Added id and class on view_page to help formatting

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
app/views/content_viewer/view_page.rhtml
... ... @@ -4,7 +4,7 @@
4 4 end
5 5 %>
6 6  
7   -<div id="article">
  7 +<div id="article" class="<%= @page.css_class_name %>">
8 8  
9 9  
10 10 <div<%= " class='logged-in'" if user %>>
... ... @@ -52,7 +52,7 @@
52 52 </div>
53 53 <% else %>
54 54 <% if profile.community? && (@page.blog? || @page.parent && @page.parent.blog?) %>
55   - <%= link_to content_tag( 'span', _('Suggest an article') ), profile.admin_url.merge({ :controller => 'cms', :action => 'suggest_an_article'}), :class => 'button with-text icon-new' %>
  55 + <%= link_to content_tag( 'span', _('Suggest an article') ), profile.admin_url.merge({ :controller => 'cms', :action => 'suggest_an_article'}), :id => 'suggest-article-link', :class => 'button with-text icon-new' %>
56 56 <% end %>
57 57 <% end %>
58 58 <div id="article-header">
... ...