Sha256: 9715cac975724f04468b5da3fd8327cc94cf71b605adf904c8a10ce69f53d4a3

Contents?: true

Size: 860 Bytes

Versions: 21

Compression:

Stored size: 860 Bytes

Contents

- title_bar "Reports", [{"title"=>"New Report", "url"=>new_category_report_path(params[:category_id])}]

%div#active_admin_content.without_sidebar
  - main_content "Report List" do
    - index_table ["Title", "Status", "Publish", "Updated", "Created", "", "", ""] do
      - @reports.each_with_index do |report, i|
        %tr{:class=>cycle( "odd", "even") }
          %td= report.title
          %td= report.status
          %td= report.publish_from.strftime("%b %e, %l:%M %p")
          %td= report.updated_at.strftime("%b %e, %l:%M %p")
          %td= report.created_at.strftime("%b %e, %l:%M %p")
          %td= link_to 'Show', category_report_path(params[:category_id], report)
          %td= link_to 'Edit', edit_category_report_path(params[:category_id], report)
          %td= link_to 'Destroy', report, :confirm => 'Are you sure?', :method => :delete

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
ems-0.1.12 app/views/ems/reports/index.html.haml
ems-0.1.11 app/views/ems/reports/index.html.haml
ems-0.1.10 app/views/ems/reports/index.html.haml
ems-0.1.9 app/views/ems/reports/index.html.haml
ems-0.1.8 app/views/ems/reports/index.html.haml
ems-0.1.7 app/views/ems/reports/index.html.haml
ems-0.1.6 app/views/ems/reports/index.html.haml
ems-0.1.5 app/views/ems/reports/index.html.haml
ems-0.1.4 app/views/ems/reports/index.html.haml
ems-0.1.3 app/views/ems/reports/index.html.haml
ems-0.1.2 app/views/ems/reports/index.html.haml
ems-0.1.1 app/views/ems/reports/index.html.haml
ems-0.1.0 app/views/ems/reports/index.html.haml
ems-0.0.9 app/views/ems/reports/index.html.haml
ems-0.0.8 app/views/ems/reports/index.html.haml
ems-0.0.7 app/views/ems/reports/index.html.haml
ems-0.0.6 app/views/ems/reports/index.html.haml
ems-0.0.5 app/views/ems/reports/index.html.haml
ems-0.0.4 app/views/ems/reports/index.html.haml
ems-0.0.3 app/views/ems/reports/index.html.haml