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.11.0 spec/test_app/app/views/articles/index.html.erb
adeia-0.10.5 spec/test_app/app/views/articles/index.html.erb
adeia-0.10.4 spec/test_app/app/views/articles/index.html.erb
adeia-0.10.3 spec/test_app/app/views/articles/index.html.erb
adeia-0.10.2 spec/test_app/app/views/articles/index.html.erb
adeia-0.10.1 spec/test_app/app/views/articles/index.html.erb
adeia-0.10.0 spec/test_app/app/views/articles/index.html.erb
adeia-0.9.2 spec/test_app/app/views/articles/index.html.erb
adeia-0.9.1 spec/test_app/app/views/articles/index.html.erb
adeia-0.9.0 spec/test_app/app/views/articles/index.html.erb
adeia-0.8.6 spec/test_app/app/views/articles/index.html.erb
adeia-0.8.5 spec/test_app/app/views/articles/index.html.erb
adeia-0.8.4 spec/test_app/app/views/articles/index.html.erb
adeia-0.8.3 spec/test_app/app/views/articles/index.html.erb
adeia-0.8.2 spec/test_app/app/views/articles/index.html.erb
adeia-0.8.1 spec/test_app/app/views/articles/index.html.erb
adeia-0.8.0 spec/test_app/app/views/articles/index.html.erb
adeia-0.7.1 spec/test_app/app/views/articles/index.html.erb
adeia-0.7.0 spec/test_app/app/views/articles/index.html.erb
adeia-0.6.2 spec/test_app/app/views/articles/index.html.erb