Sha256: 8b1f3c6152cdfec83c15b1555eac18455bab861b860bee27dc531e9f0b7af481

Contents?: true

Size: 509 Bytes

Versions: 2

Compression:

Stored size: 509 Bytes

Contents

%br
%h4 All pages

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

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

%br

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flms-0.9.0 app/views/flms/pages/index.html.haml
flms-0.1.0 app/views/flms/pages/index.html.haml