<h3>${$.i18n.prop('password.section.title')}</h3>
</div>
<div class="modal-body" id="modal-password-change-content">
- <form id="password-change-form">
+ <form id="password-change-form" class="form-horizontal">
<div id="modal-password-change-err-message" class="alert-message error" style="display:none"></div>
<fieldset>
<!-- part displayed only when a logged user want to change password will be hide when validate user registration -->
- <div class="clearfix" id="password-change-form-current-password-div">
- <label for="password-change-form-current-password">${$.i18n.prop('password.existing')}</label>
- <div class="input">
+ <div class="control-group" id="password-change-form-current-password-div">
+ <label class="control-label" for="password-change-form-current-password">${$.i18n.prop('password.existing')}</label>
+ <div class="controls">
<input type="password" id="password-change-form-current-password" name="password-change-form-current-password" class="required" value=""/>
</div>
</div>
- <div class="clearfix">
- <label for="passwordChangeFormNewPassword">${$.i18n.prop('password.new')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="passwordChangeFormNewPassword">${$.i18n.prop('password.new')}</label>
+ <div class="controls">
<input type="password" id="passwordChangeFormNewPassword" name="passwordChangeFormNewPassword" class="required" value=""/>
</div>
</div>
- <div class="clearfix">
- <label for="passwordChangeFormNewPasswordConfirm">${$.i18n.prop('password.new.confirm')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="passwordChangeFormNewPasswordConfirm">${$.i18n.prop('password.new.confirm')}</label>
+ <div class="controls">
<input type="password" id="passwordChangeFormNewPasswordConfirm" name="passwordChangeFormNewPasswordConfirm" class="required" value=""/>
</div>
</div>
}
},
showErrors: function(validator, errorMap, errorList) {
- customShowError(validator,errorMap,errorMap);
+ customShowError("password-change-form",validator,errorMap,errorMap);
}
});