railsrumble/r13-team-357

View on GitHub
app/views/projects/_list.html.haml

Summary

Maintainability
Test Coverage
.panel-heading
  %i.icon-table.icon-large
  = t('tt.index', resource_name: Project.model_name.human)
  .panel-tools
    .btn-group
      %a.btn{href: projects_path, data: {toggle: 'toolbar-tooltip'}, title: 'Reload'}
        %i.icon-refresh
    .badge= @projects.total_entries
.panel-body.filters
  = render 'filters'
%table.table
  %thead
    %tr
      %th= sort_link(@search, :name, t('activerecord.attributes.project.name'))
      %th.actions
        Actions
  %tbody
    = render @projects