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-1.0.0 spec/test_app/app/views/articles/index.html.erb
adeia-0.15.4 spec/test_app/app/views/articles/index.html.erb
adeia-0.15.3 spec/test_app/app/views/articles/index.html.erb
adeia-0.15.2 spec/test_app/app/views/articles/index.html.erb
adeia-0.15.1 spec/test_app/app/views/articles/index.html.erb
adeia-0.15.0 spec/test_app/app/views/articles/index.html.erb
adeia-0.14.0 spec/test_app/app/views/articles/index.html.erb
adeia-0.13.1 spec/test_app/app/views/articles/index.html.erb
adeia-0.13.0 spec/test_app/app/views/articles/index.html.erb
adeia-0.12.0 spec/test_app/app/views/articles/index.html.erb
adeia-0.11.11 spec/test_app/app/views/articles/index.html.erb
adeia-0.11.10 spec/test_app/app/views/articles/index.html.erb
adeia-0.11.9 spec/test_app/app/views/articles/index.html.erb
adeia-0.11.8 spec/test_app/app/views/articles/index.html.erb
adeia-0.11.7 spec/test_app/app/views/articles/index.html.erb
adeia-0.11.6 spec/test_app/app/views/articles/index.html.erb
adeia-0.11.5 spec/test_app/app/views/articles/index.html.erb
adeia-0.11.4 spec/test_app/app/views/articles/index.html.erb
adeia-0.11.3 spec/test_app/app/views/articles/index.html.erb
adeia-0.11.2 spec/test_app/app/views/articles/index.html.erb