% define_template("location_batch", jsonmodel_definition(:location)) do |form| %>
<% end %> <%= render_aspace_partial :partial => "shared/form_messages", :locals => {:object => @location, :form => form} %> <% form.emit_template("location_batch") %> <%= render_aspace_partial :partial => "shared/subrecord_form", :locals => {:form => form, :name => "external_ids", :hidden => true} %>