Sha256: fd18605e5f7ab4dc0866d23791d810033218c823911e32758bdc89ba78c909db

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

%h1 Listing pages

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

  - @pages.each do |page|
    %tr
      %td= page.title
      %td= page.body
      %td= link_to 'Show', page
      %td= link_to 'Edit', edit_page_path(page)
      %td= link_to 'Destroy', page, :confirm => 'Are you sure?', :method => :delete

%br

= link_to 'New page', new_page_path

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wheels-0.0.18 app/views/pages/index.html.haml