Arthur Bogaart pushed to branch master at cms-community / hippo-cms
Commits: 7e7f005e by Arthur Bogaart at 2016-05-10T17:17:00+02:00 CMS-10099 Add <wicket:child/> to CaptchaForm Add a <wicket:child/> element so subclasses of the CaptchaForm can extend the HTML instead of having to fork. The extension point is inserted *before* the captcha field so that when the Captcha is shown (after a couple of failed login attempts), it does not break the form layout. - - - - - 1 changed file: - engine/src/main/java/org/hippoecm/frontend/plugins/login/SimpleLoginPlugin$CaptchaForm.html Changes: ===================================== engine/src/main/java/org/hippoecm/frontend/plugins/login/SimpleLoginPlugin$CaptchaForm.html ===================================== --- a/engine/src/main/java/org/hippoecm/frontend/plugins/login/SimpleLoginPlugin$CaptchaForm.html +++ b/engine/src/main/java/org/hippoecm/frontend/plugins/login/SimpleLoginPlugin$CaptchaForm.html @@ -1,5 +1,5 @@ <!-- - * Copyright 2015 Hippo B.V. (http://www.onehippo.com) + * Copyright 2015-2016 Hippo B.V. (http://www.onehippo.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,6 +17,8 @@ <body> <wicket:panel> <wicket:extend> + <wicket:child/> + <!-- captcha image --> <div class="hippo-login-form-input"> <img wicket:id="captchaImage" width="100%"/> View it on GitLab: https://code.onehippo.org/cms-community/hippo-cms/commit/7e7f005ede4b7824146dba7e4428408a368e4268
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn