This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/app/views/breweries/new.rhtml

14 lines
311 B
Plaintext

<h1>New brewery</h1>
<%= error_messages_for :brewery %>
<% form_for(:brewery, :url => breweries_path, :html => { :method => :post }) do |f| %>
<%= render :partial => 'brewery_form' %>
<p>
<%= submit_tag "Create" %>
</p>
<% end %>
<div id="related_links">
<%= link_to 'Breweries', breweries_path %>
</div>