X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fvideo%2F_form.rhtml;fp=app%2Fviews%2Fvideo%2F_form.rhtml;h=c990254d5ff8b964e2f2594b083b39473ea40aac;hb=d13e443cd5c78d0d4d5053202a70a251b3e6d111;hp=10f345a3db87966f8d890b8eb39447a35d35a8d3;hpb=3947513155ffed3b49a2cd0e80cd3ef26b551f59;p=cs356-p2-videostore.git diff --git a/app/views/video/_form.rhtml b/app/views/video/_form.rhtml index 10f345a..c990254 100644 --- a/app/views/video/_form.rhtml +++ b/app/views/video/_form.rhtml @@ -8,7 +8,7 @@ <%= check_box 'video', 'newrelease' %>


-<%= text_field 'video', 'video_genre' %>

+<%= select 'video', 'video_genre', Videogenre.find(:all).collect {|c| [c.name.to_s, c.id] } %>


<%= text_field 'video', 'director' %>