Sha256: 388bb6c9af2ce86b016801d6ce52fbb4d487f2b25b21b06d8622f762e8b769d9

Contents?: true

Size: 323 Bytes

Versions: 2

Compression:

Stored size: 323 Bytes

Contents

%table.table.table-striped
  %tr
    - index_fields.each do |field|
      %th= field
    %th Actions
  - items.each do |item|
    %tr
      - index_fields.each do |key|
        %td= item.send(key)
      %td
        = link_to_item(item)
        = link_to_edit_item(item)

= link_to_new_item(model, class: 'btn btn-primary')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
theblog-0.0.1.1 app/views/theblog/admin/index.html.haml
theblog-0.0.1 app/views/theblog/admin/index.html.haml