Sha256: a25bd654cfac3de5a5d15c0a9f59a7088101b4b6de75795ab79d8a694b489729

Contents?: true

Size: 541 Bytes

Versions: 5

Compression:

Stored size: 541 Bytes

Contents

<h1>Listing articles</h1>

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

  <tbody>
    <% @articles.each do |article| %>
      <tr>
        <td><%= article.title %></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

5 entries across 5 versions & 1 rubygems

Version Path
activerecord-refresh_connection-0.0.5 example/app/views/articles/index.html.erb
activerecord-refresh_connection-0.0.4 example/app/views/articles/index.html.erb
activerecord-refresh_connection-0.0.3 example/app/views/articles/index.html.erb
activerecord-refresh_connection-0.0.2 example/app/views/articles/index.html.erb
activerecord-refresh_connection-0.0.1 example/app/views/articles/index.html.erb