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-11 01:33:08 -05:00
|
|
|
<p>
|
|
|
|
<label for="beer_title">Title</label> <%= text_field 'beer', 'title' %>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<label for="beer_abv">ABV</label> <%= text_field 'beer', 'abv' %>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<label for="beer_original_gravity">Original Gravity</label> <%= text_field 'beer', 'original_gravity' %>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<label for="beer_final_gravity">Final Gravity</label> <%= text_field 'beer', 'final_gravity' %>
|
|
|
|
</p>
|
2008-01-07 00:46:43 -05:00
|
|
|
<p>
|
|
|
|
<label for="beer_style_id">Style</label> <%= select 'beer', 'style_id', Style.for_select, { :selected => @beer.style_id } %>
|
|
|
|
</p>
|
2007-11-17 02:12:50 -05:00
|
|
|
<p>
|
|
|
|
<label for="brewery_title">Brewery</label> <%= text_field_with_auto_complete('brewery', 'title', {}, { :url => { :controller => 'autocomplete', :action => 'index' } }) %>
|
|
|
|
</p>
|
2007-11-15 19:57:44 -05:00
|
|
|
<%= render :partial => 'pages/page_form' %>
|