fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [15806] Typo


From: sigurdne
Subject: [Fmsystem-commits] [15806] Typo
Date: Mon, 10 Oct 2016 18:22:00 +0000 (UTC)

Revision: 15806
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15806
Author:   sigurdne
Date:     2016-10-10 18:21:59 +0000 (Mon, 10 Oct 2016)
Log Message:
-----------
Typo

Modified Paths:
--------------
    trunk/property/templates/base/attributes_form.xsl

Modified: trunk/property/templates/base/attributes_form.xsl
===================================================================
--- trunk/property/templates/base/attributes_form.xsl   2016-10-07 14:42:50 UTC 
(rev 15805)
+++ trunk/property/templates/base/attributes_form.xsl   2016-10-10 18:21:59 UTC 
(rev 15806)
@@ -762,8 +762,8 @@
 
 <!-- New template-->
 <xsl:template name="choice">
-       <xsl:variable name="counter">
-               <xsl:value-of select="counter"/>
+       <xsl:variable name="attrib_id">
+               <xsl:value-of select="id"/>
        </xsl:variable>
        <xsl:variable name="name">
                <xsl:value-of select="name"/>
@@ -772,10 +772,10 @@
                <xsl:for-each select="choice">
                        <xsl:choose>
                                <xsl:when test="checked='checked'">
-                                       <input id="id_{$name}_{id}" 
type="{input_type}" name="values_attribute[{$counter}][value][]" value="{id}" 
checked="checked"/>
+                                       <input id="id_{$name}_{id}" 
type="{input_type}" name="values_attribute[{$attrib_id}][value][]" value="{id}" 
checked="checked"/>
                                </xsl:when>
                                <xsl:otherwise>
-                                       <input id="id_{$name}_{id}" 
type="{input_type}" name="values_attribute[{$counter}][value][]" value="{id}"/>
+                                       <input id="id_{$name}_{id}" 
type="{input_type}" name="values_attribute[{$attrib_id}][value][]" 
value="{id}"/>
                                </xsl:otherwise>
                        </xsl:choose>
                        <xsl:value-of select="value"/>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]