Sha256: 156a31785ef25d0796834bdae81d4f18d6428c25be11686d8f25a38146310ad9
Contents?: true
Size: 526 Bytes
Versions: 1
Compression:
Stored size: 526 Bytes
Contents
<article class="kblog-article"> <aside class="kblog-created"> <%= localize(article.created_at, format: :long) %> </aside> <h2><%= article.title %></h2> <div class="kblog-content"> <%= textilize(article.content).html_safe %> </div> <% if @blog_user && Kblog::Article.user_rights(@blog_user) %> <div class="kblog-links"> <%= link_to 'Edit', kblog.edit_article_path(article) %> | <%= link_to 'Destroy', kblog.article_path(article), :confirm => 'Are you sure?', :method => :delete %> </div> <% end %> </article>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kblog-0.0.2 | app/views/kblog/articles/_article.html.erb |