Now taking into account inputDefaults attribute and the navbar-form type of form.