Updated for consistency with code in the video

Removed the {% if is_granted . . . %} line as this is not in the video.
Merge pull request #18 from keefekwan/patch-6

Updated for consistency with code in the video