.row .large-12.columns %h3 Reports Index (#{@reports.length}) - if @site In #{@site.domain}/#{@site.lang} = link_to '[+]', new_report_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?' } - if report.is_public [public ] - else [private] = link_to report.name, report_path( report ) %br .gray - if report.site Site #{report.site.domain}/#{report.site.lang} %br = report.created_at = paginate @reports, :param_name => :reports_page