diff options
Diffstat (limited to 'static/contact.xsl')
| -rw-r--r-- | static/contact.xsl | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/static/contact.xsl b/static/contact.xsl deleted file mode 100644 index aa814d0..0000000 --- a/static/contact.xsl +++ /dev/null @@ -1,35 +0,0 @@ -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - <xsl:output method="html" indent="yes" /> - <xsl:include href="templates.xsl" /> - - <xsl:param name="icon"> - <xsl:text>mail</xsl:text> - </xsl:param> - <xsl:param name="title"> - <xsl:text>Contact</xsl:text> - </xsl:param> - <xsl:param name="message-placeholder"> - <xsl:text>you@ema.il - -Hey I think I might build an idol and start worshiping you. Which of the following materials would please you? Gold, Silver,...</xsl:text> - </xsl:param> - - <xsl:param name="content"> - <form id="contact-form" method="POST" action="/contact"> - <label> - Send me a message - <textarea id="message_in" name="message" placeholder="{$message-placeholder}" rows="5"></textarea> - <small>Follow the template instructions or be sent to the trash!</small> - </label> - <button type="submit">Transmit</button> - </form> - </xsl:param> - - <xsl:template match="/"> - <xsl:call-template name="page"> - <xsl:with-param name="icon" select="$icon" /> - <xsl:with-param name="title" select="$title" /> - <xsl:with-param name="content" select="$content" /> - </xsl:call-template> - </xsl:template> -</xsl:stylesheet> |
