Update form.py

Add of the scalar representation (maybe a decorator later)
Tabs are changed by 4 spaces