X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fvideo%2F_form.rhtml;h=c990254d5ff8b964e2f2594b083b39473ea40aac;hb=4ab6702d5ac0ec4541e8a724ab5e4409630b5546;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..c990254 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' %>

+


+<%= text_field 'video', 'media' %>