[frontend] Fix courses form view