Sha256: 93aa7a01b3fbf380da637e17d90e82ddb5cb35ed155ba5cf58ffec147eb5bf28
Contents?: true
Size: 754 Bytes
Versions: 1
Compression:
Stored size: 754 Bytes
Contents
<% content_for :title, Write.title + " - " + @post.description %> <%= stylesheet_link_tag "write/application", :media => "all" %> <%= content_tag :div, link_to(Write.tagline, root_path), class: "blog-title" %> <div id="post-view" data-comments-url="<%= @post.comments_url %>"> <%= content_tag :div, @post.description, class: "post-title" %> <%= content_tag :div, time_ago_in_words(@post.updated_at) + " ago", class: "post-time" %> <%= content_tag :div, Write::MD.render(@post.content).html_safe, class: "post-content" %> <%= content_tag :div, link_to("Write a comment (requires a github account)", @post.html_url, :class => "btn"), class: "github-link" %> <div id="comments"></div> </div> <%= javascript_include_tag "write/application" %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
write-0.2.0 | app/views/write/posts/show.html.erb |