app/views/flms/pages/index.html.haml in flms-0.0.3 vs app/views/flms/pages/index.html.haml in flms-0.1.0

- old
+ new

@@ -3,18 +3,19 @@ %table.table.table-striped.table-hover %thead %tr %th Title - %th + %th Action %tbody - @pages.each do |page| %tr - %td= link_to page.title, page_blocks_path(page) + %td= page.title %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' + = 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'