implementing real detail page for polls app with app templates