Sometimes you want the user to be able to tick a box.  Add this code to your form in forms.html just before the submit button:

    <label for="approval">Keep me logged in: </label>
    <input type="checkbox" value="yes" name="cookie" id="cookie">

Save and try. 

Now add the attribute checked inside the input tag just after all the other attributes.  No value is needed for that attribute.