X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fvideo%2Fsearchresults.rhtml;fp=app%2Fviews%2Fvideo%2Fsearchresults.rhtml;h=daefca04f63e8429f77b204417d7c5141c6dc820;hb=3947513155ffed3b49a2cd0e80cd3ef26b551f59;hp=0000000000000000000000000000000000000000;hpb=6223af90077b9722e4d8add790a407f2cbcb6962;p=cs356-p2-videostore.git diff --git a/app/views/video/searchresults.rhtml b/app/views/video/searchresults.rhtml new file mode 100644 index 0000000..daefca0 --- /dev/null +++ b/app/views/video/searchresults.rhtml @@ -0,0 +1,28 @@ +
Sorry, there were no results
+<% else %> +Video ID | +Checked Out | + <% for column in Video.content_columns %> +<%= column.human_name %> | + <% end %> +|||
---|---|---|---|---|---|
<%=h video.id %> | +<%=h video.checkedout? %> | + <% for column in Video.content_columns %> +<%=h video.send(column.name) %> | + <% end %> +<%= link_to 'Show', :action => 'show', :id => video %> | +<%= link_to 'Edit', :action => 'edit', :id => video %> | +<%= link_to 'Destroy', { :action => 'destroy', :id => video }, :confirm => 'Are you sure?', :post => true %> | +