Migrate title attribute from rentable to video (and later, game)
[cs356-p2-videostore.git] / app / views / video / _form.rhtml
1 <%= error_messages_for 'video' %>
2
3 <!--[form:video]-->
4 <p><label for="video_title">Title</label><br/>
5 <%= text_field 'video', 'title' %></p>
6
7 <p><label for="video_newrelease">Newrelease</label><br/>
8 <select id="video_newrelease" name="video[newrelease]"><option value="false" selected>False</option><option value="true">True</option></select></p>
9
10 <p><label for="video_director">Director</label><br/>
11 <%= text_field 'video', 'director'  %></p>
12
13 <p><label for="video_genre">Genre</label><br/>
14 <%= text_field 'video', 'genre'  %></p>
15 <!--[eoform:video]-->
16