add vote form and csrf(cross site request forgery) protecting template tag to detail template.