Sha256: d55b15ebb773ec35b04d00f36bd2b81f705488d15103be520ed4667f2903c5f0
Contents?: true
Size: 791 Bytes
Versions: 9
Compression:
Stored size: 791 Bytes
Contents
- reports = reports.page( params[:reports_page] ).per( 10 ) - if site - new_path = new_site_report_path( site.id ) - else - new_path = new_report_path .manager-reports--index .row .col-sm-12 %h2 Reports (#{reports.length}) = link_to image_new, new_path = 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
9 entries across 9 versions & 1 rubygems