<%= error_messages_for :brewery %> <% form_for(:brewery, :url => breweries_path, :html => { :method => :post }) do |f| %> <%= render :partial => 'brewery_form' %>

<%= submit_tag "Create" %>

<% end %>