Checked if form has any error before adding has-success class to form-group
for bounded form.
Merge branch 'develop'