Put input inside label for notifications checkbox (#LEMONDAP-925)

environments/ppa-mbqj77/deployments/1
Clément Oudot 9 years ago
parent 8b4c26df6f
commit e4f66952b3
  1. 10
      lemonldap-ng-portal/example/skins/common/notification.xsl

@ -15,13 +15,13 @@
<xsl:for-each select="check">
<xsl:variable name="sublevel" select="position()"/>
<p class="notifCheck">
<xsl:element name="input">
<xsl:attribute name="type">checkbox</xsl:attribute>
<xsl:attribute name="name">check<xsl:value-of select="$start"/>x<xsl:value-of select="$level"/>x<xsl:value-of select="$sublevel"/></xsl:attribute>
<xsl:attribute name="id">check<xsl:value-of select="$start"/>x<xsl:value-of select="$level"/>x<xsl:value-of select="$sublevel"/></xsl:attribute>
</xsl:element>
<xsl:element name="label">
<xsl:attribute name="for">check<xsl:value-of select="$start"/>x<xsl:value-of select="$level"/>x<xsl:value-of select="$sublevel"/></xsl:attribute>
<xsl:element name="input">
<xsl:attribute name="type">checkbox</xsl:attribute>
<xsl:attribute name="name">check<xsl:value-of select="$start"/>x<xsl:value-of select="$level"/>x<xsl:value-of select="$sublevel"/></xsl:attribute>
<xsl:attribute name="id">check<xsl:value-of select="$start"/>x<xsl:value-of select="$level"/>x<xsl:value-of select="$sublevel"/></xsl:attribute>
</xsl:element>
<xsl:value-of select="."/>
</xsl:element>
</p>

Loading…
Cancel
Save