Permalink
Browse files

Fixing edit view to use select for State

  • Loading branch information...
1 parent d30cea7 commit 9e667d4cd6a587b33847d86d6f63904899ac7ff7 @pat pat committed Sep 29, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/contacts/edit.html.erb
@@ -21,7 +21,7 @@
</p>
<p>
<%= f.label :state %><br />
- <%= f.text_field :state %>
+ <%= f.collection_select :state_id, State.all, :id, :name %>
</p>
<p>
<%= f.label :country %><br />

0 comments on commit 9e667d4

Please sign in to comment.