%= error_messages_for :brewery %> <% form_for(:brewery, :url => brewery_path(@brewery.page.title_for_url), :html => { :method => :put }) do |f| %> <%= render :partial => 'brewery_form' %>
<%= submit_tag "Update" %>
<% end %> <% content_for :sidebar do -%> <%= link_to 'New Brewery', new_brewery_path -%>