Sha256: 26671bd9283ebdce2c5407bee8e20eed28aa7db88c3687f581fba214f1c484e4

Contents?: true

Size: 648 Bytes

Versions: 76

Compression:

Stored size: 648 Bytes

Contents

- reports = reports.page( params[:reports_page] ).per( 10 )

.manager-reports--index
  .row
    .col-sm-12
      %h2 Reports (#{reports.length})

      = paginate reports, :param_name => :reports_page
      %ol
        - reports.each do |report|
          %li
            = link_to '[~]', edit_report_path( report )
            = link_to '[x]', report_path( report ), :method => :delete, :data => { :confirm => 'Are you sure?' }
            = link_to report.name, report_path( report )
            - if report.subhead && report.subhead.length > 3
              .subhead= report.subhead
      = paginate reports, :param_name => :reports_page
  %hr

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
ish_manager-0.1.8.102 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.101 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.100 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.99 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.98 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.97 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.96 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.95 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.94 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.93 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.92 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.91 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.90 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.89 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.88 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.87 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.86 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.85 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.84 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.83 app/views/ish_manager/reports/_index.haml