Sha256: 110c2227b0d224caa693f44b7a57bc49721cb824f0e6dfc509df4d93c440b282

Contents?: true

Size: 383 Bytes

Versions: 15

Compression:

Stored size: 383 Bytes

Contents

%div#categories.index
  %h1 Categories

  %ul
    %li= link_to "New category", new_category_path

  %table
    %thead
      %tr
        %th Name
        %th{:colspan => 2} Modify
    %tbody
      - @categories.each do |category|
        %tr
          %td= category.name
          %td= link_to "Edit", [:edit, category]
          %td= button_to "Delete", category, :method => :delete

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
navi-0.2.1 spec/dummy/app/views/categories/index.html.haml
navi-0.2.0 spec/dummy/app/views/categories/index.html.haml
navi-0.1.4 spec/dummy/app/views/categories/index.html.haml
navi-0.1.3 spec/dummy/app/views/categories/index.html.haml
navi-0.0.17 spec/dummy/app/views/categories/index.html.haml
navi-0.0.16 spec/dummy/app/views/categories/index.html.haml
navi-0.0.15 spec/dummy/app/views/categories/index.html.haml
navi-0.0.14 spec/dummy/app/views/categories/index.html.haml
navi-0.0.13 spec/dummy/app/views/categories/index.html.haml
navi-0.0.12 spec/dummy/app/views/categories/index.html.haml
navi-0.0.11 spec/dummy/app/views/categories/index.html.haml
navi-0.0.10 spec/dummy/app/views/categories/index.html.haml
navi-0.0.9 spec/dummy/app/views/categories/index.html.haml
navi-0.0.6 spec/dummy/app/views/categories/index.html.haml
navi-0.0.2 spec/dummy/app/views/categories/index.html.haml