Sha256: c96fdceaf80e6ec63ecd7d3b96cc0a826cf2160e84f7d5e3e7090571243105ee

Contents?: true

Size: 908 Bytes

Versions: 113

Compression:

Stored size: 908 Bytes

Contents

-# ish_manager / reports / index

.row
  .large-12.columns
    %h3
      Reports (#{@reports.length})
      = link_to image_new, new_report_path

    = paginate @reports, :param_name => :reports_page, :views_prefix => 'ish_manager'

    - @reports.each do |report|
      .card
        .card-content
          = link_to '[~]', edit_report_path( report )
          .float-left= button_to '[x]', report_path( report ), :method => :delete, :data => { :confirm => 'Are you sure?' }
          - if report.is_public
            %i.material-icons visibility
          - else
            %i.material-icons visibility_off
          = link_to report.name, report_path( report )
          %br
          .gray
            = pp_date report.created_at
          - if report.photo
            = image_tag report.photo.photo.url :thumb

    = paginate @reports, :param_name => :reports_page, :views_prefix => 'ish_manager'

Version data entries

113 entries across 113 versions & 1 rubygems

Version Path
ish_manager-0.1.8.435 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.434 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.433 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.432 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.431 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.430 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.429 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.428 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.427 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.426 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.425 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.424 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.423 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.422 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.421 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.420 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.419 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.418 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.417 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.416 app/views/ish_manager/reports/index.haml