orbit-basic/app/views/admin/purchases/index.html.erb

10 lines
256 B
Plaintext
Raw Normal View History

2011-08-18 05:43:33 +00:00
<% @purchases.each do |purchase| %>
<%= purchase.title %> |
<%= purchase.intro %> |
<%= purchase.author %> |
<% if purchase.downloaded %>
Downloaded
<% else %>
<%= link_to 'Download', download_admin_purchase_path(purchase) %>
<% end %>
<% end %>