From adacded47ab59acedd61a27db4f282a5d8a3da22 Mon Sep 17 00:00:00 2001 From: andrew Date: Sun, 17 Feb 2008 22:46:07 +0000 Subject: [PATCH] remember style selection git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@153 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7 --- app/views/beers/_beer_form.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/beers/_beer_form.rhtml b/app/views/beers/_beer_form.rhtml index c8fb9fb..de4fa93 100644 --- a/app/views/beers/_beer_form.rhtml +++ b/app/views/beers/_beer_form.rhtml @@ -11,7 +11,7 @@ <%= text_field 'beer', 'final_gravity' %>

- <%= select 'beer', 'style_id', Style.for_select, { :selected => @beer.style_id } %> + <%= select 'beer', 'style_id', Style.for_select, { :selected => @beer.style_id.to_s } %>

<%= text_field_with_auto_complete('brewery', 'title', {}, { :url => { :controller => 'autocomplete', :action => 'index' } }) %>