Sha256: ba6bcf5a2e8d7b2a610a508e73e70cb479478c68b81292d90807944a1ab83db8

Contents?: true

Size: 385 Bytes

Versions: 1

Compression:

Stored size: 385 Bytes

Contents

<% @articles.each do |article| %>
  <article>
    <h2><%= link_to article.title, article %></h2>
    <small><%= article.publish_at ? l(article.publish_at, format: :long) : "Unpublished draft"%></small>
    <main class="trix-content">
      <%= article.text.html_safe %>
    </main>
  </article>
  <br>
<% end %>

<br>

<%= link_to new_article_path do %>
  <b>New Article</b>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bongo-0.0.4 app/views/bongo/articles/index.html.erb