Sha256: 950909fa55e0fc33877b42728b46e7978d59526830ab8dda1843bdcb3fd336f2

Contents?: true

Size: 380 Bytes

Versions: 2

Compression:

Stored size: 380 Bytes

Contents

%h1 Listing posts

%table
  %tr
    %th Title
    %th Body
    %th
    %th
    %th

  - @posts.each do |post|
    %tr
      %td= post.title
      %td= post.body
      %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

2 entries across 2 versions & 2 rubygems

Version Path
manifold_mock-0.0.1 test/dummy/app/views/posts/index.html.haml
templator_chabz-0.9.0 test/dummy/app/views/posts/index.html.haml