Profile edit: don't force checkbox's width
Cleanup: moved form validation handling to a mixin

Further reuse will be possible this way.