<%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Shipments' } %>

<div data-hook="admin_shipment_new_header">
  <h1><%= t(:new_shipment) %></h1>
  <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @shipment } %>
</div>

<div data-hook="admin_shipment_new_form">
  <%= form_for @shipment, :url => admin_order_shipments_path(@order) do |shipment_form| %>
    <%= render :partial => 'form', :locals => { :shipment_form => shipment_form } %>

    <div data-hook="admin_shipment_new_form_buttons">
      <p class="form-buttons">
        <%= button t(:create) %>
      </p>
    </div>
  <% end %>
</div>
