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/beers/edit.rhtml

14 lines
335 B
Plaintext

<%= error_messages_for :beer %>
<% form_for(:beer, :url => beer_path(@beer.page.title_for_url), :html => { :method => :put }) do |f| %>
<%= render :partial => 'beer_form' %>
<p>
<%= submit_tag "Update" %>
</p>
<% end -%>
<% content_for :sidebar do -%>
<%= new_beer_link -%><br />
<%= show_beer_link(@beer) -%><br />
<% end -%>