PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/www/dsp/register.dsp

http://github.com/cgay/wiki
Unknown | 57 lines | 55 code | 2 blank | 0 comment | 0 complexity | bdcf7f665326ee752c0110c5e658c41f MD5 | raw file
 1<%dsp:include url="xhtml-start.dsp"/>
 2<%dsp:taglib name="wiki"/>
 3<head>
 4  <title>Dylan Wiki: Register New Account</title>
 5  <%dsp:include url="meta.dsp"/>
 6</head>
 7<body>
 8  <%dsp:include url="header.dsp"/>
 9  <div id="midsection">
10    <div id="navigation">
11      <wiki:include-page title="Wiki Left Nav"/>
12    </div>
13    <div id="content">
14
15      <dsp:show-page-errors/>
16      <dsp:show-page-notes/>
17
18      <form action="<wiki:base/>/register" method="post">
19        <fieldset id="general" class="splitted">
20          <ol>
21            <li id="username">
22              <label id="username-label" for="username-input">Name <em title="required">*</em></label>
23              <input id="username-input" type="text" name="user-name"
24                     <dsp:if-error field-name="user-name" text='class="invalid-input"'/>
25                     value="<dsp:get name='user-name' context='request,page'/>"/>
26              <dsp:show-field-errors field-name="user-name"/>
27            </li>
28            <li id="password">
29              <label id="password-label" for="password-input">Password <em title="required">*</em></label>
30              <input id="password-input" type="password" name="password"
31                     <dsp:if-error field-name="password" text='class="invalid-input"'/>
32                     value="<dsp:get name='password' context='request,page'/>"/>
33              <dsp:show-field-errors field-name="password"/>
34            </li>
35            <li id="password2">
36              <label id="password2-label" for="password2-input">Confirm Password <em title="required">*</em></label>
37              <input id="password2-input" type="password" name="password2"
38                     <dsp:if-error field-name="password2" text='class="invalid-input"'/>
39                     value="<dsp:get name='password2' context='request,page'/>"/>
40              <dsp:show-field-errors field-name="password2"/>
41            </li>
42            <li id="email">
43              <label id="email-label" for="email-input">Email Address <em title="required">*</em></label>
44              <input id="email-input" type="text" name="email"
45                     <dsp:if-error field-name="email" text='class="invalid-input"'/>
46                     value="<dsp:get name='email' context='request,page'/>"/>
47              <dsp:show-field-errors field-name="email"/>
48            </li>
49          </ol>
50        </fieldset>
51        <input type="submit" value="Register New Account"/>
52      </form>
53    </div>
54  </div>
55  <%dsp:include url="footer.dsp"/>
56</body>
57</html>