show.html.erb 319 B

12345678910111213141516171819202122232425
  1. <p id="notice"><%= notice %></p>
  2. <p>
  3. <b>Name:</b>
  4. <%= @order.name %>
  5. </p>
  6. <p>
  7. <b>Address:</b>
  8. <%= @order.address %>
  9. </p>
  10. <p>
  11. <b>Email:</b>
  12. <%= @order.email %>
  13. </p>
  14. <p>
  15. <b>Pay type:</b>
  16. <%= @order.pay_type %>
  17. </p>
  18. <%= link_to 'Edit', edit_order_path(@order) %> |
  19. <%= link_to 'Back', orders_path %>