Sha256: 31a7b968c4268f24f208d5b38e999c0d948ec9bda07a5ea31c06cd2e940d6be9

Contents?: true

Size: 1.57 KB

Versions: 4

Compression:

Stored size: 1.57 KB

Contents

<% content_for 'header' do %>
  <%= auto_discovery_link_tag :rss, articles_path(:rss) %>
<% end %>
<h1><%=h @article.title %></h1>
<%= link_to 'RSS', articles_path(:rss), :class => 'rss' %>

<div id="main-content">
  <p class="post-meta">
    on <span class="date"><%= @article.published_at.to_formatted_s(:short_dot) %></span> by <%= link_to @article.author, articles_authored_path(@article.created_by.permalink) %>
  </p>
  <%= @article.body %>

  <%= gallery @article.assets %>
  <%= documents @article.assets %>
  
  <a href="#" id="share-title" title="Share This Article">Share This</a>
  <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 -->

<div id="sidebar">
  <%= related_articles(@article) %>
  
  <h2>Latest Posts</h2>
  <%= recent_articles %>
    
  <%= article_categories %>
  
  <%= article_authors %>
  
  <h2>Archive</h2>
  <%= archive %>

</div><!-- eo:sidebar -->

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
beef-articles-0.3.13 app/views/articles/show.html.erb
beef-articles-0.3.14 app/views/articles/show.html.erb
beef-articles-0.3.15 app/views/articles/show.html.erb
beef-articles-0.3.16 app/views/articles/show.html.erb