%= render(:layout => '/shared/sidebar',
:locals => {
:record_type => 'location_batch',
:record => {},
:suppress_basic_information => true,
:suppress_submit_buttons => true,
}) do |sidebar| %>
<%= sidebar.render_for_view_and_edit(:subrecord_type => 'location', :property => :none, :anchor => 'location') %>
<% if @is_batch_update %>
<% else %>
<%= sidebar.render_for_view_and_edit(:subrecord_type => 'ranges', :property => :none, :anchor => 'ranges') %>
<% end %>
btn-submit-group<% end %>">
<% unless @is_batch_update %>
<% end %>
btn-submit-group<% end %>">
<% unless @is_batch_update %>
<% end %>
<% end %>