Repository: struts Updated Branches: refs/heads/master 6a65b808c -> 83e284145
Fix freemaker error in checkbox.ftl of css_xhtml template Fix freemaker error when set label position to left on a checkbox tag of a form (Missing brackets). Project: http://git-wip-us.apache.org/repos/asf/struts/repo Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/6af35c7b Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/6af35c7b Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/6af35c7b Branch: refs/heads/master Commit: 6af35c7b9c76b5d67958afee02feb52ae4841255 Parents: 7f3defd Author: Marc Michele <marc.mich...@tiv-source.de> Authored: Sun Aug 28 21:56:34 2016 +0200 Committer: GitHub <nore...@github.com> Committed: Sun Aug 28 21:56:34 2016 +0200 ---------------------------------------------------------------------- core/src/main/resources/template/css_xhtml/checkbox.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts/blob/6af35c7b/core/src/main/resources/template/css_xhtml/checkbox.ftl ---------------------------------------------------------------------- diff --git a/core/src/main/resources/template/css_xhtml/checkbox.ftl b/core/src/main/resources/template/css_xhtml/checkbox.ftl index c89f764..cc6ab80 100644 --- a/core/src/main/resources/template/css_xhtml/checkbox.ftl +++ b/core/src/main/resources/template/css_xhtml/checkbox.ftl @@ -46,7 +46,7 @@ lables <#elseif parameters.labelposition??> <#assign labelpos = parameters.labelposition/> </#if> -<#if labelpos!"" == 'left'> +<#if (labelpos!"") == 'left'> <span <#rt/> <#if parameters.id??>id="wwlbl_${parameters.id}"<#rt/></#if> class="wwlbl"> <label<#t/>