##// END OF EJS Templates
fixes #298, ldap email addresses created by rhodecode automatically during first login didn't get converted to lower case, which lead to lookup failures and than wrong checks for uniqueness. Fixed that by putting a setter on db model column that will enforce converting to lowercase.
fixes #298, ldap email addresses created by rhodecode automatically during first login didn't get converted to lower case, which lead to lookup failures and than wrong checks for uniqueness. Fixed that by putting a setter on db model column that will enforce converting to lowercase.

File last commit:

r1512:bf263968 merge default
r1757:2aa7f454 beta
Show More
register.html
92 lines | 3.1 KiB | text/html | HtmlLexer
renamed project to rhodecode
r547 ## -*- coding: utf-8 -*-
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 <%inherit file="base/root.html"/>
renamed project to rhodecode
r547
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 <%def name="title()">
${_('Sign Up')} - ${c.rhodecode_name}
</%def>
<div id="register">
<div class="title top-left-rounded-corner top-right-rounded-corner">
<h5>${_('Sign Up to')} ${c.rhodecode_name}</h5>
</div>
<div class="inner">
${h.form(url('register'))}
<div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label">
<label for="username">${_('Username')}:</label>
</div>
<div class="input">
${h.text('username',class_="medium")}
</div>
</div>
<div class="field">
<div class="label">
<label for="password">${_('Password')}:</label>
</div>
<div class="input">
${h.password('password',class_="medium")}
</div>
</div>
<div class="field">
<div class="label">
<label for="password">${_('Re-enter password')}:</label>
</div>
<div class="input">
${h.password('password_confirmation',class_="medium")}
</div>
</div>
<div class="field">
<div class="label">
<label for="name">${_('First Name')}:</label>
</div>
<div class="input">
${h.text('name',class_="medium")}
</div>
</div>
<div class="field">
<div class="label">
<label for="lastname">${_('Last Name')}:</label>
</div>
<div class="input">
${h.text('lastname',class_="medium")}
</div>
</div>
<div class="field">
<div class="label">
<label for="email">${_('Email')}:</label>
</div>
<div class="input">
${h.text('email',class_="medium")}
</div>
</div>
<div class="buttons">
<div class="nohighlight">
Augusto Herrmann
Added pt_BR localization, added i18n wrappers on some places missing, fixed css in settings screen for longer labels.
r1472 ${h.submit('sign_up',_('Sign Up'),class_="ui-button")}
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 %if c.auto_active:
<div class="activation_msg">${_('Your account will be activated right after registration')}</div>
%else:
<div class="activation_msg">${_('Your account must wait for activation by administrator')}</div>
%endif
</div>
</div>
</div>
renamed project to rhodecode
r547 </div>
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 ${h.end_form()}
added focus to login register password reminder forms
r1202 <script type="text/javascript">
YUE.onDOMReady(function(){
YUD.get('username').focus();
})
</script>
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 </div>
</div>
renamed project to rhodecode
r547