X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fviews%2Forders%2Findex.html.erb;fp=app%2Fviews%2Forders%2Findex.html.erb;h=39e117ecda9b3a5ac7514eb0116bac0f57f0bf10;hb=3ac66882338fa1c3f6d73ba68093b7fcfb399574;hp=0000000000000000000000000000000000000000;hpb=1b429173b63fb15c46a8bc319ae58e9c5584054c;p=depot.git diff --git a/app/views/orders/index.html.erb b/app/views/orders/index.html.erb new file mode 100644 index 0000000..39e117e --- /dev/null +++ b/app/views/orders/index.html.erb @@ -0,0 +1,26 @@ +

Listing orders

+ + + + + + + + + +<% for order in @orders %> + + + + + + + + + +<% end %> +
NameAddressEmailPay type
<%=h order.name %><%=h order.address %><%=h order.email %><%=h order.pay_type %><%= link_to 'Show', order %><%= link_to 'Edit', edit_order_path(order) %><%= link_to 'Destroy', order, :confirm => 'Are you sure?', :method => :delete %>
+ +
+ +<%= link_to 'New order', new_order_path %>