X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fvideo%2F_form.rhtml;h=51b9628f86227ecbfdd15402bbbd46795126b0ca;hb=38bf6e867a85ce3283a5b696bfa54afc63fa75bd;hp=8e903a27b998c71054c9934deca9219f4fd8bdc7;hpb=620ca6eedb2bc3b9c31da71553c081f3442b95ce;p=cs356-p2-videostore.git diff --git a/app/views/video/_form.rhtml b/app/views/video/_form.rhtml index 8e903a2..51b9628 100644 --- a/app/views/video/_form.rhtml +++ b/app/views/video/_form.rhtml @@ -5,12 +5,15 @@ <%= text_field 'video', 'title' %>


-

+<%= check_box 'video', 'newrelease' %>

+ +


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


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

-


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

+


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