X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fvideo%2F_form.rhtml;h=51b9628f86227ecbfdd15402bbbd46795126b0ca;hb=e4597521e3a7365f86731f7d69643cb1067acb5e;hp=ab7e45646e597d69f152fffab73fe7fc797fd5c3;hpb=0acc9549b65f2c3cd1840f39e31f2177a98bc55e;p=cs356-p2-videostore.git diff --git a/app/views/video/_form.rhtml b/app/views/video/_form.rhtml index ab7e456..51b9628 100644 --- a/app/views/video/_form.rhtml +++ b/app/views/video/_form.rhtml @@ -1,13 +1,19 @@ <%= error_messages_for 'video' %> +


+<%= 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] } %>