X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fvideo%2Flist.rhtml;h=198eeb1dd8b0808ed0cdab58ac3e03e9fc09291a;hb=refs%2Ftags%2Fturned-in;hp=afe84edfba9b169e5115e1ef319f7a2b51d18f04;hpb=2818e8becfb6a257df623713d507f0994d5cc278;p=cs356-p2-videostore.git diff --git a/app/views/video/list.rhtml b/app/views/video/list.rhtml index afe84ed..198eeb1 100644 --- a/app/views/video/list.rhtml +++ b/app/views/video/list.rhtml @@ -1,10 +1,10 @@

Listing videos

- +
- + @@ -14,15 +14,15 @@ <% for video in @videos %> - - - + + + - - + + - + <% end %>
Video IDChecked Out TitleChecked Out New Release Genre Director
<%=h video.id %><%=h video.checkedout? %> <%=h video.title %><%=h video.newrelease %><%=h video.genre %><%=h tf_to_yesno(video.checkedout?) %><%=h tf_to_yesno(video.newrelease) %><%=h video.genre.name %> <%=h video.director %><%=h video.media_name %><%= link_to 'Show', :action => 'show', :id => video %><%=h video.media.name %><%= link_to 'View', :action => 'show', :id => video %> <%= link_to 'Edit', :action => 'edit', :id => video %><%= link_to 'Destroy', { :action => 'destroy', :id => video }, :confirm => 'Are you sure?', :method => :post %><%= link_to 'Remove', { :action => 'destroy', :id => video }, :confirm => 'Are you sure?', :method => :post %>