fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12969] validate dynamic inputs


From: Alejandro
Subject: [Fmsystem-commits] [12969] validate dynamic inputs
Date: Thu, 09 Apr 2015 04:22:48 +0000

Revision: 12969
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12969
Author:   nudrick
Date:     2015-04-09 04:22:47 +0000 (Thu, 09 Apr 2015)
Log Message:
-----------
validate dynamic inputs

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

Modified: branches/dev-syncromind/property/templates/base/location_form2.xsl
===================================================================
--- branches/dev-syncromind/property/templates/base/location_form2.xsl  
2015-04-08 22:32:38 UTC (rev 12968)
+++ branches/dev-syncromind/property/templates/base/location_form2.xsl  
2015-04-09 04:22:47 UTC (rev 12969)
@@ -60,6 +60,18 @@
                                                        </input>
                                                </xsl:otherwise>
                                        </xsl:choose>
+                                       <xsl:choose>
+                                               <xsl:when test="is_entity=1">
+                                                       <input type="checkbox" 
name="clear_{input_name}_box" onClick="blank_entity_values()">
+                                                               <xsl:attribute 
name="title">
+                                                                       
<xsl:value-of select="php:function('lang', 'delete')"/>
+                                                               </xsl:attribute>
+                                                               <xsl:attribute 
name="readonly">
+                                                                       
<xsl:text>readonly</xsl:text>
+                                                               </xsl:attribute>
+                                                       </input>
+                                               </xsl:when>
+                                       </xsl:choose>
                                </xsl:for-each>
                        </div>
                </xsl:for-each>




reply via email to

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