diff options
author | Romain d'Alverny <rda@mageia.org> | 2010-11-06 16:34:51 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2010-11-06 16:34:51 +0000 |
commit | ae4009c1052d9e6163a24c2668dd4d9e039bf3fc (patch) | |
tree | ea45fc747fa4a747ad4952ee10a6b5b639c79627 /root/register | |
parent | ac10cc90fe99a465aaba747a32f469237bcd723e (diff) | |
download | identity-ae4009c1052d9e6163a24c2668dd4d9e039bf3fc.tar identity-ae4009c1052d9e6163a24c2668dd4d9e039bf3fc.tar.gz identity-ae4009c1052d9e6163a24c2668dd4d9e039bf3fc.tar.bz2 identity-ae4009c1052d9e6163a24c2668dd4d9e039bf3fc.tar.xz identity-ae4009c1052d9e6163a24c2668dd4d9e039bf3fc.zip |
more HTML cleanup, doc structure/style broken for now
Diffstat (limited to 'root/register')
-rw-r--r-- | root/register/complete.tt | 4 | ||||
-rw-r--r-- | root/register/index.tt | 67 |
2 files changed, 37 insertions, 34 deletions
diff --git a/root/register/complete.tt b/root/register/complete.tt index 1cddd14..75c6f6c 100644 --- a/root/register/complete.tt +++ b/root/register/complete.tt @@ -1,6 +1,6 @@ <h2>[% l('Registration completed') %]</h2> <p> -[% l('Registration was successful.') %] -[% l('Check your mail for activation instructions.') %] + [% l('Registration was successful.') %] + [% l('Check your mail for activation instructions.') %] </p>
\ No newline at end of file diff --git a/root/register/index.tt b/root/register/index.tt index 4d2fa25..2259d4f 100644 --- a/root/register/index.tt +++ b/root/register/index.tt @@ -5,41 +5,44 @@ END; %] <h2>[% l('Register') %]</h2> -<span class="error"> +<p class="error"> [% FOREACH error IN errors %] [% error %]<br/> [% END %] -</span> +</p> <form method="post" action="/register/check"> -<table border=0> - <tr> - <td>[% l('Username') %]</td> - <td><input type=text name="uid" value="[% c.request.params.uid %]" /></td> - </tr> - <tr> - <td>[% l('First name') %]</td> - <td><input type=text name="gn" value="[% c.request.params.gn %]" /></td> - </tr> - <tr> - <td>[% l('Surname') %]</td> - <td><input type=text name="sn" value="[% c.request.params.sn %]" /></td> - </tr> - <tr> - <td>[% l('Email address') %]</td> - <td><input type=text name="mail1" value="[% c.request.params.mail1 %]" /></td> - </tr> - <tr> - <td>[% l('Confirm Email address') %]</td> - <td><input type=text name="mail2" value="[% c.request.params.mail2 %]" /></td> - </tr> - <tr> - <td><img src="/register/captcha" /></td> - <td><input type="text" name="validate" /></td> - </tr> - <tr> - <td></td> - <td colspan=1><input type="Submit" value="[% l('Register') %]" /></td> - </tr> -</table> + <p> + <label for="uid_">[% l('Username') %]</label> + <input id="uid_" type="text" name="uid" value="[% c.request.params.uid %]" /> + </p> + + <p> + <label for="gn_">[% l('First name') %]</label> + <input id="gn_" type="text" name="gn" value="[% c.request.params.gn %]" /> + </p> + + <p> + <label for="sn_">[% l('Surname') %]</label> + <input id="sn_" type="text" name="sn" value="[% c.request.params.sn %]" /> + </p> + + <p> + <label for="mail1_">[% l('Email address') %]</label> + <input id="mail1_" type="text" name="mail1" value="[% c.request.params.mail1 %]" /> + </p> + + <p> + <label for="mail2_">[% l('Confirm Email address') %]</label> + <input id="mail2_" type="text" name="mail2" value="[% c.request.params.mail2 %]" /> + </p> + + <p> + <img src="/register/captcha" /> + <input type="text" name="validate" /> + </p> + + <p><input type="submit" value="[% l('Register') %]" /></p> + +</form>
\ No newline at end of file |