Sha256: 5c5dd367fda68b9cca9f6428f952c4dd4c0518f1647813ded5948609adcb3c87

Contents?: true

Size: 469 Bytes

Versions: 9

Compression:

Stored size: 469 Bytes

Contents

%h1 Listing posts

%table
  %thead
    %tr
      %th Title
      %th Body
      %th Published at
      %th
      %th
      %th

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

%br

= link_to 'New Post', new_post_path

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cmor_seo-0.0.51.pre spec/dummy/app/views/posts/index.html.haml
cmor_seo-0.0.50.pre spec/dummy/app/views/posts/index.html.haml
cmor_seo-0.0.49.pre spec/dummy/app/views/posts/index.html.haml
cmor_seo-0.0.48.pre spec/dummy/app/views/posts/index.html.haml
cmor_seo-0.0.45.pre spec/dummy/app/views/posts/index.html.haml
cmor_seo-0.0.44.pre spec/dummy/app/views/posts/index.html.haml
cmor_seo-0.0.43.pre spec/dummy/app/views/posts/index.html.haml
cmor_seo-0.0.42.pre spec/dummy/app/views/posts/index.html.haml
cmor_seo-0.0.41.pre spec/dummy/app/views/posts/index.html.haml