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

<%= @location.title %> <%= 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 %>