Sha256: dc9a59bcac0ef974ec0a89a755697c9fb03868e9ee0479395a4ab51a390276d0

Contents?: true

Size: 495 Bytes

Versions: 15

Compression:

Stored size: 495 Bytes

Contents

<h1>Listing posts</h1>

<table>
  <tr>
    <th>Title</th>
    <th>Text</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @posts.each do |post| %>
  <tr>
    <td><%= post.title %></td>
    <td><%= post.text %></td>
    <td><%= link_to 'Show', post %></td>
    <td><%= link_to 'Edit', edit_post_path(post) %></td>
    <td><%= link_to 'Destroy', post, method: :delete, data: { confirm: 'Are you sure?' } %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Post', new_post_path %>

Version data entries

15 entries across 15 versions & 5 rubygems

Version Path
blogg-0.0.3 app/views/blogg/posts/index.html.erb
blogg-0.0.2 app/views/blogg/posts/index.html.erb
raffle_v1-0.0.5 app/views/raffle_v1/posts/index.html.erb
stw_engine-0.0.3 app/views/posts/index.html.erb
stw_engine-0.0.2 app/views/posts/index.html.erb
stw_engine-0.0.1 app/views/posts/index.html.erb
media_magick-0.4.1 spec/dummy/app/views/posts/index.html.erb
media_magick-0.4.0 spec/dummy/app/views/posts/index.html.erb
media_magick-0.3.3 spec/dummy/app/views/posts/index.html.erb
media_magick-0.3.2 spec/dummy/app/views/posts/index.html.erb
media_magick-0.3.0 spec/dummy/app/views/posts/index.html.erb
myengine-0.0.1 app/views/myengine/posts/index.html.erb
raffle_v1-0.0.4 app/views/raffle_v1/posts/index.html.erb
raffle_v1-0.0.2 app/views/raffle_v1/posts/index.html.erb
raffle_v1-0.0.1 app/views/raffle_v1/posts/index.html.erb