Add little validation on class form
Merge pull request #2506 from julceslauhub/master

Add little validation on class form