Sha256: 1e3d6fcb97c4ff20fce9dd2aeb76a54603fb01fe63bb06d41b672b87dd7a5f75
Contents?: true
Size: 603 Bytes
Versions: 3
Compression:
Stored size: 603 Bytes
Contents
%header.page-header %h3 Pages .well %table.table %thead %tr %th # %th Name %th Status %th Actions %tbody - @pages.each_with_index do |page,i| %tr %td= (i + 1) %td= link_to page.name.humanize, edit_page_path(page) %td= page.status.humanize %td = link_to 'Preview', page_preview_path(page), :target => '_blank' | = link_to 'Edit', edit_page_path(page) | = link_to 'Destroy', page_path(page), :method => :delete, :confirm => 'Are you sure?'
Version data entries
3 entries across 3 versions & 1 rubygems