Sha256: 7d8550dc933639fa81e85ca0119ac52e4f56f3161a0abfe69736dc49128eb638
Contents?: true
Size: 470 Bytes
Versions: 2
Compression:
Stored size: 470 Bytes
Contents
<% @articles.each do |article| %> <article> <header> <h2><%= link_to article.title, article %></h2> <small><%= article.publish_at ? l(article.publish_at, format: :long) : "Unpublished draft"%></small> </header> <div class="trix-content"> <%= article.text.html_safe %> </div> </article> <br> <% end %> <br> <% if policy(Bongo::Article).create? %> <%= link_to new_article_path do %> <b>New Article</b> <% end %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bongo-0.1.1 | app/views/bongo/articles/index.html.erb |
bongo-0.1.0 | app/views/bongo/articles/index.html.erb |