Update views.rst

Fixed misplaced echo where short tag can be used.