Sha256: 6aebc62e030f3d384e7ff11830d92841433cfb6fdfe44007a2473fc4f40b8ab5

Contents?: true

Size: 449 Bytes

Versions: 16

Compression:

Stored size: 449 Bytes

Contents

%h1 Listing doodads

%table
  %thead
    %tr
      %th Name
      %th Description
      %th
      %th
      %th

  %tbody
    - @doodads.each do |doodad|
      %tr
        %td= doodad.name
        %td= doodad.description
        %td= link_to 'Show', doodad
        %td= link_to 'Edit', edit_doodad_path(doodad)
        %td= link_to 'Destroy', doodad, method: :delete, data: { confirm: 'Are you sure?' }

%br

= link_to 'New Doodad', new_doodad_path

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
works_cited-0.1.16 spec/dummy/app/views/doodads/index.html.haml
works_cited-0.1.15 spec/dummy/app/views/doodads/index.html.haml
works_cited-0.1.14 spec/dummy/app/views/doodads/index.html.haml
works_cited-0.1.13 spec/dummy/app/views/doodads/index.html.haml
works_cited-0.1.11 spec/dummy/app/views/doodads/index.html.haml
works_cited-0.1.10 spec/dummy/app/views/doodads/index.html.haml
works_cited-0.1.9 spec/dummy/app/views/doodads/index.html.haml
works_cited-0.1.8 spec/dummy/app/views/doodads/index.html.haml
works_cited-0.1.7 spec/dummy/app/views/doodads/index.html.haml
works_cited-0.1.6 spec/dummy/app/views/doodads/index.html.haml
works_cited-0.1.5 spec/dummy/app/views/doodads/index.html.haml
works_cited-0.1.4 spec/dummy/app/views/doodads/index.html.haml
works_cited-0.1.3 spec/dummy/app/views/doodads/index.html.haml
works_cited-0.1.2 spec/dummy/app/views/doodads/index.html.haml
works_cited-0.1.1 spec/dummy/app/views/doodads/index.html.haml
works_cited-0.1.0 spec/dummy/app/views/doodads/index.html.haml