Sha256: 8739c80464fb7f94848d591f8fb31b80b990fdd108ec53b9123927f6a993258b

Contents?: true

Size: 462 Bytes

Versions: 3

Compression:

Stored size: 462 Bytes

Contents

%br
%h4 All pages

%table.table.table-striped.table-hover
  %thead
    %tr
      %th Title
      %th

  %tbody
    - @pages.each do |page|
      %tr
        %td= link_to page.title, page_blocks_path(page)
        %td
          = link_to 'edit', edit_page_path(page), class: 'btn'
          = link_to 'delete', page_path(page), method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn'

%br

= link_to 'New Page', new_page_path, class: 'btn btn-success'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flms-0.0.3 app/views/flms/pages/index.html.haml
flms-0.0.2 app/views/flms/pages/index.html.haml
flms-0.0.1 app/views/flms/pages/index.html.haml