Fix rendering problem in max_degree in forms.py