<%= render :partial => 'documents/document_with_details',
           :locals => {:document => video} %>
<%= render :partial => 'documents/document_with_details',
           :locals => {:document => document} %>

Fix typo in documents search partial
Fix typo in documents search partial
