Fixed view_name formatting for location in templates.