% content_for :body_class, 'admin-reports index' %> <% content_for :body_id, 'admin-reports-index' %> <% content_for :page_title, 'Reports' %> <% content_for :page_header do %>
Id | Type | From Date | To Date | State | Report | Created at | Controls |
---|---|---|---|---|---|---|---|
<%= report.id %> | <%= report.type %> | <%= admin_time_string(report.from_date).html_safe %> | <%= admin_time_string(report.to_date).html_safe %> | <%= report.state %> | <% if report.csv.present? %> <%= link_to("download", report.csv.url) %> <% else %> N/A <% end %> | <% if report.created_at %> <%= admin_time_string(report.created_at).html_safe %> <% else %> - <% end %> |
|