<%= setup_context :object => @location %> <%= form_for @location, :as => "location", :url => {:action => :create}, :html => {:class => 'form-horizontal aspace-record-form'} do |f| %> <%= form_context :location, @location do |form| %>
<%= render_aspace_partial :partial => "locations/sidebar" %>
<%= link_to_help :topic => "location" %>

<%= I18n.t("actions.new_prefix") %> <%= I18n.t("location._singular") %> <%= I18n.t("location._singular") %>


<%= render_aspace_partial :partial => "locations/form", :locals => {:form => form} %>
<%= link_to I18n.t("actions.cancel"), :back, :class => "btn btn-cancel btn-default" %>
<% end %> <% end %>