Minor refacotring of bootstrap active field and form.