fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12597]


From: Nelson Guerra
Subject: [Fmsystem-commits] [12597]
Date: Wed, 14 Jan 2015 23:39:11 +0000

Revision: 12597
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12597
Author:   nelson224
Date:     2015-01-14 23:39:10 +0000 (Wed, 14 Jan 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/property/templates/base/location_form.xsl

Modified: branches/dev-syncromind/property/templates/base/location_form.xsl
===================================================================
--- branches/dev-syncromind/property/templates/base/location_form.xsl   
2015-01-14 10:26:05 UTC (rev 12596)
+++ branches/dev-syncromind/property/templates/base/location_form.xsl   
2015-01-14 23:39:10 UTC (rev 12597)
@@ -19,22 +19,23 @@
                                                </xsl:otherwise>
                                        </xsl:choose>
                                </label>
-                               <xsl:choose>
-                                       <xsl:when test="readonly=1">
-                                               <input size="{size}" 
type="{input_type}" name="{input_name}" value="{value}" 
onClick="{lookup_function_call}" readonly="readonly">
-                                                       <xsl:attribute 
name="title">
-                                                               <xsl:value-of 
select="statustext"/>
+                               <input size="{size}" type="{input_type}" 
name="{input_name}" value="{value}" onClick="{lookup_function_call}">
+                                       <xsl:attribute name="title">
+                                               <xsl:value-of 
select="statustext"/>
+                                       </xsl:attribute>
+                                       <xsl:choose>
+                                               <xsl:when test="readonly=1">
+                                                       <xsl:attribute 
name="readonly">
+                                                               <xsl:text> 
readonly</xsl:text>
                                                        </xsl:attribute>
-                                               </input>
-                                       </xsl:when>
-                                       <xsl:otherwise>
-                                               <input size="{size}" 
type="{input_type}" name="{input_name}" value="{value}" 
onClick="{lookup_function_call}">
-                                                       <xsl:attribute 
name="title">
-                                                               <xsl:value-of 
select="statustext"/>
+                                               </xsl:when>
+                                               <xsl:when test="required='1'">
+                                                       <xsl:attribute 
name="data-validation">
+                                                               
<xsl:text>required</xsl:text>
                                                        </xsl:attribute>
-                                               </input>
-                                       </xsl:otherwise>
-                               </xsl:choose>
+                                               </xsl:when>
+                                       </xsl:choose>
+                               </input>
                                <xsl:for-each select="extra">
                                        <xsl:choose>
                                                <xsl:when test="readonly=1">




reply via email to

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