<% content_for :title, "Edit Purchase Order" %>

<h1>Edit Purchase Order #<%= @purchase_order.id %></h1>

<%= render "form", purchase_order: @purchase_order %>

<br>

<div>
  <%= link_to "Show this purchase order", warehouse_purchase_order_path(@purchase_order) %> |
  <%= link_to "Back to purchase orders", warehouse_purchase_orders_path %>
</div>
