fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12605]


From: Nelson Guerra
Subject: [Fmsystem-commits] [12605]
Date: Thu, 15 Jan 2015 17:06:49 +0000

Revision: 12605
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12605
Author:   nelson224
Date:     2015-01-15 17:06:47 +0000 (Thu, 15 Jan 2015)
Log Message:
-----------


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

Modified: branches/dev-syncromind/property/templates/base/attributes_form.xsl
===================================================================
--- branches/dev-syncromind/property/templates/base/attributes_form.xsl 
2015-01-15 17:06:11 UTC (rev 12604)
+++ branches/dev-syncromind/property/templates/base/attributes_form.xsl 
2015-01-15 17:06:47 UTC (rev 12605)
@@ -700,6 +700,22 @@
                                                                </xsl:choose>
                                                        </input>
                                                </xsl:when>
+                                               <xsl:when 
test="datatype='email'">
+                                                       <input 
data-validation="email" id="id_{name}" type="text" 
name="values_attribute[{counter}][value]" value="{value}" size="30">
+                                                               <xsl:choose>
+                                                                       
<xsl:when test="disabled!=''">
+                                                                               
<xsl:attribute name="disabled">
+                                                                               
        <xsl:text> disabled</xsl:text>
+                                                                               
</xsl:attribute>
+                                                                       
</xsl:when>
+                                                                       
<xsl:when test="nullable='1'">
+                                                                               
<xsl:attribute name="data-validation-optional">
+                                                                               
        <xsl:text>true</xsl:text>
+                                                                               
</xsl:attribute>
+                                                                       
</xsl:when>
+                                                               </xsl:choose>
+                                                       </input>
+                                               </xsl:when>
                                                <xsl:otherwise>
                                                        <input id="id_{name}" 
type="text" name="values_attribute[{counter}][value]" value="{value}" size="30">
                                                                <xsl:choose>




reply via email to

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