Edit location: <%= @location.name %>

<% form_for(@location) do |f| %> <%= f.error_messages %> <%= render :partial => "form", :locals => { :f => f } -%>

<%= f.submit "Update" %>

<% end %> <%= link_to 'Show', @location %> | <%= link_to 'Back', locations_path %>