Update _form.php

Add error classes to tab only when .form-error-message exists