This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
2007-11-15 00:35:29 -05:00
|
|
|
<%= error_messages_for :brewery %>
|
|
|
|
|
|
|
|
<% form_for(:brewery, :url => brewery_path(@brewery.page.title_for_url), :html => { :method => :put }) do |f| %>
|
|
|
|
<%= render :partial => 'brewery_form' %>
|
|
|
|
<p>
|
|
|
|
<%= submit_tag "Update" %>
|
|
|
|
</p>
|
|
|
|
<% end %>
|
|
|
|
|
2007-11-15 19:57:44 -05:00
|
|
|
<% content_for :sidebar do -%>
|
|
|
|
<%= link_to 'New Brewery', new_brewery_path -%><br />
|
|
|
|
<%= link_to 'Show', brewery_path(@brewery.page.title_for_url) -%><br />
|
|
|
|
<% end -%>
|