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.62 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.61 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.60 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.59 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.58 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.57 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.56 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.55 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.54 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.53 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.52 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.51 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.50 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.49 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.47 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.46 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.45 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.44 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.43 app/views/ish_manager/reports/_index.haml
ish_manager-0.1.8.41 app/views/ish_manager/reports/_index.haml