17 lines
386 B
Text
17 lines
386 B
Text
<h1>Editing delivery</h1>
|
|
|
|
<% form_for([@supplier,@delivery]) do |f| %>
|
|
<%= f.error_messages %>
|
|
<%= f.hidden_field :supplier_id %>
|
|
|
|
<p>
|
|
<%= f.label :delivered_on %><br />
|
|
<%= f.date_select :delivered_on %>
|
|
</p>
|
|
<p>
|
|
<%= f.submit "Update" %>
|
|
</p>
|
|
<% end %>
|
|
|
|
<%= link_to 'Show', [@supplier,@delivery] %> |
|
|
<%= link_to 'Back', supplier_deliveries_path(@supplier) %>
|