Files
openfoodnetwork/app/views/spree/admin/reports/index.html.erb
Kristina Lim c8b154b12a Separate enterprise fee summary action
Split the previous "index" action into "new" and "create" actions.
2019-02-08 21:26:38 +00:00

22 lines
457 B
Plaintext

<% content_for :page_title do %>
<%= t(:listing_reports) %>
<% end %>
<table class="index">
<thead>
<tr data-hook="reports_header">
<th><%= t(:name) %></th>
<th><%= t(:description) %></th>
</tr>
</thead>
<tbody>
<% @reports.each do |key, value| %>
<tr data-hook="reports_row">
<td><%= link_to value[:name], value[:url] %></td>
<td><%= value[:description] %></td>
</tr>
<% end %>
</tbody>
</table>