Sha256: f5d07c2664ec0370f39080ae9e9df4ce154457d53615610c3c5f527f399295ad

Contents?: true

Size: 1.26 KB

Versions: 2

Compression:

Stored size: 1.26 KB

Contents

<% content_for 'header' do %>
  <%= auto_discovery_link_tag :rss, articles_path(:rss) %>
<% end %>

<div id="supporting-content">
    <h2>Archive</h2>
      <%= archive %>
      
    <%= related_articles(@article) %>
</div>


<div id="main-content">
  <h1><%=h @article.title %></h1>
  <%= @article.body %>
  
  <%= render :partial => 'meta', :locals => {:article => @article } %>
  
  <%= gallery @images %>

  <%= documents @documents %>
  
  <h4 id="share-title" title="Share This Article">Share This</h4>
  <p class="share-links">
    <%= mail_link @article %> <%= digg_link @article %> <%= delicious_link @article %> <%= facebook_link @article %> <%= stumble_link @article %> <%= twitter_link @article %> <%= reddit_link @article %> <%= technorati_link @article %>
  </p>

<% if @article.allow_comments? or @article.comments.any? -%>
  <div id="comments">
    <h2>Comments</h2>
    
<% if @article.comments.empty? -%>
    <p class="no-comments">There are currently no comments.</p>
<% else -%>
    <%= comments_list @article %>
<% end -%>

<% if @article.allow_comments? %>
    <h2 id="respond">Leave a Comment</h2>
    <%= render :partial => 'comments/form', :locals => { :commentable => @article } %>
<% end -%>
  </div><!-- eo:comments -->
<% end -%>

</div><!-- eo:main-content -->

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
beef-articles-0.4.7 app/views/articles/show.html.erb
beef-articles-0.4.6 app/views/articles/show.html.erb