{% extends "default.html" %} {% block pagetitle %}{{"Badge Grant" if grant else "Badge Remove"}}{% endblock %} {% block pagetype %}message{% endblock %} {% block content %} {% set form_action = "/admin/badge_grant" if grant else "/admin/badge_remove" %}