[refactor][m]: rename extension from exampletheme to example as per new repository name.
[ckanext-datagovau.git] / ckanext / example / theme / templates / user / register.html
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<html xmlns:py="http://genshi.edgewall.org/"
  xmlns:i18n="http://genshi.edgewall.org/i18n"
  xmlns:xi="http://www.w3.org/2001/XInclude"
  py:strip="">
  
  <py:match path="primarysidebar">
    <li class="widget-container widget_text">
      <h2>Have an OpenID?</h2>
      <p>
        If you have an account with Google, Yahoo or one of many other 
        OpenID providers, you can log in without signing up. 
      </p>
      <ul>
        <li>${h.link_to(_('Log in now'), h.url_for(conroller='user', action='login'))}</li>
      </ul>
    </li>
  </py:match>
  
  <py:def function="page_title">Register - User</py:def>
 
  <div py:match="content">
    <h2>Join the community</h2>
    
    <form action="/user/register" method="post" class="simple-form" id="register_form">  
      <fieldset>
        <legend i18n:msg="site_title">Register with CKAN</legend>
 
        <label for="login">Login:</label>
        <input name="login" value="${c.login}" />
        <br/>
        <label for="fullname">Full name (optional):</label>
        <input name="fullname" value="${c.fullname}" />
        <br/>
        <label for="email">E-Mail:</label>
        <input name="email" value="${c.email}" />
        <br/>
        <label for="password1">Password:</label>
        <input type="password" name="password1" value="" />
        <br/>
        <label for="password2">Password (repeat):</label>
        <input type="password" name="password2" value="" />
        <br/>
      </fieldset>
      ${h.submit('s', _('Sign up'))}
    </form>
  </div>
  <xi:include href="layout.html" />
</html>