[Yanel-commits] rev 23328 -
public/yanel/trunk/src/resources/add-realm/xslt
michi at wyona.com
michi at wyona.com
Tue Mar 20 14:20:20 CET 2007
Author: michi
Date: 2007-03-20 14:20:19 +0100 (Tue, 20 Mar 2007)
New Revision: 23328
Modified:
public/yanel/trunk/src/resources/add-realm/xslt/add-realm.xsl
Log:
started to simplify XSLT
Modified: public/yanel/trunk/src/resources/add-realm/xslt/add-realm.xsl
===================================================================
--- public/yanel/trunk/src/resources/add-realm/xslt/add-realm.xsl 2007-03-20 13:04:32 UTC (rev 23327)
+++ public/yanel/trunk/src/resources/add-realm/xslt/add-realm.xsl 2007-03-20 13:20:19 UTC (rev 23328)
@@ -79,8 +79,17 @@
</xsl:when>
<xsl:otherwise>
+<!--
<form method="post">
<table cellpadding="0" cellspacing="0" border="0">
+ <xsl:apply-templates select="form/inputfields/input"/>
+ </table>
+ </form>
+ <br/><br/>
+-->
+
+ <form method="post">
+ <table cellpadding="0" cellspacing="0" border="0">
<xsl:for-each select="form/inputfields/input">
<div>
<xsl:choose>
@@ -327,9 +336,13 @@
</html>
</xsl:template>
-
<xsl:template name="style-display-none">
<xsl:attribute name="style">display:none;</xsl:attribute>
</xsl:template>
+
+ <xsl:template match="input">
+ <tr><td><i18n:message key="{.}"/>: </td><td><input type="text" name="{.}"/><xsl:if test="@required='true'">*</xsl:if></td></tr>
+ <tr><td> </td><td>(i.e. <xsl:value-of select="@samplevalue"/>)</td></tr>
+ </xsl:template>
</xsl:stylesheet>
More information about the Yanel-commits
mailing list