Update views.rst

Fixed misplaced echo where short tag can be used.
Merge pull request #1502 from oldskool/patch-3

Update views.rst