aboutsummaryrefslogtreecommitdiff
path: root/static/contact.xsl
blob: ab9eeea7562d34703796e7089a180437fcccabe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="html" indent="yes" />
  <xsl:include href="head.xsl" />
  <xsl:param name="title">
    <xsl:text>Contact</xsl:text>
  </xsl:param>
  <xsl:template match="/">
    <html>
      <xsl:call-template name="head">
        <xsl:with-param name="title" select="$title" />
      </xsl:call-template>

      <body>
        <h1><xsl:value-of select="$title" /></h1>
        <form id="contact-form" class="pure-form pure-form-stacked">
          <label for="name_in">
            Name
            <input id="name_in" type="text" name="name" />
          </label>
          <label for="email_in">
            Email
            <input id="email_in" type="email" name="email" />
          </label>
          <label for="message_in">
            Message
            <textarea id="message_in" name="message"></textarea>  
          </label>
        </form>
      </body>
    </html>
  </xsl:template>
</xsl:stylesheet>