Skip to content

Instantly share code, notes, and snippets.

@abloom
Created December 10, 2008 20:47
Show Gist options
  • Save abloom/34475 to your computer and use it in GitHub Desktop.
Save abloom/34475 to your computer and use it in GitHub Desktop.
<% form_remote_for(@order, :builder => TaggedBuilder, :url => ship_admin_order_path(@order.applicant)) do |f| %>
<% fields_for ManualOrderInfo.new do |oi| %>
<label for="manual_order_info_note">Note:</label><%= oi.text_field :note %>
<% end %>
<%= submit_tag (@order.applicant.fulfilled? ? "Re-Ship" : "Ship") %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment