%= error_messages_for :beer %> <% form_for(:beer, brewery_beers_path(:brewery_id => nil), :html => { :method => :post }) do |f| %> <%= render :partial => 'beer_form' %>
<%= submit_tag "Create" %>