Commit aaeebe75 badly reformaded some code which resulted in missing closing tag (div/form). Let's fix that by using django yesno template filter/mapper.
div
form
yesno
Fixes: aaeebe75 (templates: format)