Sha256: f174d4caaee777cca23f9511de468f4fd88d1b28a250e6551614a118a00f2a67

Contents?: true

Size: 505 Bytes

Versions: 7

Compression:

Stored size: 505 Bytes

Contents

%h1 Listing how_tos

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

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

%br

= link_to 'New How to', new_how_to_path

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cookbook-0.1.6 spec/dummy/app/views/how_tos/index.html.haml
cookbook-0.1.5 spec/dummy/app/views/how_tos/index.html.haml
cookbook-0.1.4 spec/dummy/app/views/how_tos/index.html.haml
cookbook-0.1.3 spec/dummy/app/views/how_tos/index.html.haml
cookbook-0.1.2 spec/dummy/app/views/how_tos/index.html.haml
cookbook-0.1.1 spec/dummy/app/views/how_tos/index.html.haml
cookbook-0.1.0 spec/dummy/app/views/how_tos/index.html.haml