Sha256: 4fddaf980347cbac778218f7859cd15dc065e10e70708946aa15b7932438e028

Contents?: true

Size: 700 Bytes

Versions: 53

Compression:

Stored size: 700 Bytes

Contents

<p id="notice"><%= notice %></p>

<h1>Listing Articles</h1>

<table>
  <thead>
    <tr>
      <th>Title</th>
      <th>Content</th>
      <th>User</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @articles.each do |article| %>
      <tr>
        <td><%= article.title %></td>
        <td><%= article.content %></td>
        <td><%= article.user.name %></td>
        <td><%= link_to 'Show', article %></td>
        <td><%= link_to 'Edit', edit_article_path(article) %></td>
        <td><%= link_to 'Destroy', article, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Article', new_article_path %>

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
adeia-0.6.1 spec/test_app/app/views/articles/index.html.erb
adeia-0.6.0 spec/test_app/app/views/articles/index.html.erb
adeia-0.5.6 spec/test_app/app/views/articles/index.html.erb
adeia-0.5.5 spec/test_app/app/views/articles/index.html.erb
adeia-0.5.4 spec/test_app/app/views/articles/index.html.erb
adeia-0.5.3 spec/test_app/app/views/articles/index.html.erb
adeia-0.5.2 spec/test_app/app/views/articles/index.html.erb
adeia-0.5.1 spec/test_app/app/views/articles/index.html.erb
adeia-0.5.0 spec/test_app/app/views/articles/index.html.erb
adeia-0.4.0 spec/test_app/app/views/articles/index.html.erb
adeia-0.3.0 spec/test_app/app/views/articles/index.html.erb
adeia-0.2.0 spec/test_app/app/views/articles/index.html.erb
adeia-0.1.0 test/dummy/app/views/articles/index.html.erb