Sha256: 390c83b6db08eedeedb803af7bc59b76a2111502997539b0916e7297acec4faf

Contents?: true

Size: 444 Bytes

Versions: 26

Compression:

Stored size: 444 Bytes

Contents

h1 Listing posts

table
  thead
    tr
      th Title
      th Body
      th Author
      th
      th
      th

  tbody
    - @posts.each do |post|
      tr
        td = post.title
        td = post.body
        td = post.author
        td = link_to 'Show', post
        td = link_to 'Edit', edit_post_path(post)
        td = link_to 'Destroy', post, data: { confirm: 'Are you sure?' }, method: :delete

br

= link_to 'New Post', new_post_path

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
sapience-1.0.11 test_apps/rails/app/views/posts/index.html.slim
sapience-1.0.10 test_apps/rails/app/views/posts/index.html.slim
sapience-1.0.9 test_apps/rails/app/views/posts/index.html.slim
sapience-1.0.8 test_apps/rails/app/views/posts/index.html.slim
sapience-1.0.7 test_apps/rails/app/views/posts/index.html.slim
sapience-1.0.6 test_apps/rails/app/views/posts/index.html.slim
sapience-1.0.5 test_apps/rails/app/views/posts/index.html.slim
sapience-1.0.4 test_apps/rails/app/views/posts/index.html.slim
sapience-1.0.3 test_apps/rails/app/views/posts/index.html.slim
sapience-1.0.2 test_apps/rails/app/views/posts/index.html.slim
sapience-1.0.1 test_apps/rails/app/views/posts/index.html.slim
sapience-1.0.0 test_apps/rails/app/views/posts/index.html.slim
sapience-0.2.18 test_apps/rails/app/views/posts/index.html.slim
sapience-0.2.17 test_apps/rails/app/views/posts/index.html.slim
sapience-0.2.16 test_apps/rails/app/views/posts/index.html.slim
sapience-0.2.15 test_apps/rails/app/views/posts/index.html.slim
sapience-0.2.14 test_apps/rails/app/views/posts/index.html.slim
sapience-0.2.13 test_apps/rails/app/views/posts/index.html.slim
sapience-0.2.12 test_apps/rails/app/views/posts/index.html.slim
sapience-0.2.11 test_apps/rails/app/views/posts/index.html.slim