Sha256: ae514a5c899962981cd555cba9bda6c585569c951d37f59121a683812fe1122c
Contents?: true
Size: 1.26 KB
Versions: 2
Compression:
Stored size: 1.26 KB
Contents
<p id="notice"><%= notice %></p> <div> <% if @post.featured_image_stored? %> <%= link_to image_tag(@post.featured_image.thumb('847x300#').url, :class => "mb24"), post_path(@post) %> <% end %> <p> <strong>Title:</strong> <%= @post.title %> </p> <p> <strong>Text:</strong> <% if PiccoBlog.members_only %> <% if @post.members_only %> <% if user_signed_in? && members_only_check(current_user) %> <%= markdown @post.text %> <% else %> <%= render "members_only", :post => @post %> <% end -%> <% else %> <%= markdown @post.text %> <% end %> <% else %> <%= markdown @post.text %> <% end -%> </p> <p> <b>Author:</b> <%= @post.author.name %> </p> <% if @post.tag_list.any? %> <p> <b>Tag List:</b> <%= linked_tag_list(@post.tag_list) %> </p> <% end -%> <% if PiccoBlog.include_share_bar %> <hr /> <%= render "sharebuttons", :post => @post %> <% end -%> <% if PiccoBlog.include_comments == :active_record %> <hr /> <h3>Comments</h3> <%= render @post.comments %> <%= render "picco_blog/comments/form" %> <% end -%> <%= link_to 'Edit', edit_post_path(@post) %> | <%= link_to 'Back', posts_path %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
picco_blog-1.4.3 | app/views/picco_blog/posts/show.html.erb |
picco_blog-1.4.2 | app/views/picco_blog/posts/show.html.erb |