[frontend] Style exam form
[frontend] Fix exam portions counter in exams/edit