Sha256: 393ea1c29158f06b2d33774396699698388bf9bf78603838485c7cd6bedad4b5

Contents?: true

Size: 375 Bytes

Versions: 1

Compression:

Stored size: 375 Bytes

Contents

%h1 Listing nodes

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

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

%br

= link_to 'New Node', new_node_path

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nodes-0.2.3 app/views/nodes/nodes/index.html.haml