Sha256: 9cb836c0a598653ab48a1eb753c2777ccefd06ffc6c7bb6829a9075d0ba5ebc7

Contents?: true

Size: 1.64 KB

Versions: 15

Compression:

Stored size: 1.64 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 %>
  
  <h3>Gallery</h3>
  <%= gallery @article.assets %>

  <h3>Documents</h3>
  <%= 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>
    <p>*Required fields</p>
    <%= 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

15 entries across 15 versions & 1 rubygems

Version Path
beef-articles-0.3.21 app/views/articles/show.html.erb
beef-articles-0.3.25 app/views/articles/show.html.erb
beef-articles-0.3.27 app/views/articles/show.html.erb
beef-articles-0.3.28 app/views/articles/show.html.erb
beef-articles-0.3.29 app/views/articles/show.html.erb
beef-articles-0.3.30 app/views/articles/show.html.erb
beef-articles-0.3.32 app/views/articles/show.html.erb
beef-articles-0.3.33 app/views/articles/show.html.erb
beef-articles-0.3.34 app/views/articles/show.html.erb
beef-articles-0.4.4 app/views/articles/show.html.erb
beef-articles-0.4.3 app/views/articles/show.html.erb
beef-articles-0.4.2 app/views/articles/show.html.erb
beef-articles-0.4.1 app/views/articles/show.html.erb
beef-articles-0.4.0 app/views/articles/show.html.erb
beef-articles-0.3.35 app/views/articles/show.html.erb