foodcoops/foodsoft

View on GitHub
plugins/wiki/app/views/pages/_title_list.html.haml

Summary

Maintainability
Test Coverage
%table.table.table-striped
  %thead
    %tr
      %th= sort_link_helper t('pages.title'), "title", :remote => false
      %th= sort_link_helper t('pages.last_updated'), "last_updated", :remote => false
  %tbody
    - for page in @pages
      = render :partial => "page_list_item", :locals => {:page => page, :level => 0, :siteMap => 0}