Files
@ 9bc052942640
Branch filter:
Location: kallithea/rhodecode/templates/register.html - annotation
9bc052942640
3.1 KiB
text/html
pullrequests: fix non-js defaults for repo owner
Owner of default_other_repo was never sent to the the template ... and the
template would fail if it had been sent. Instead we set default_other_repo_info
to the other_repos_info struct and use that to find the owner.
Owner of default_other_repo was never sent to the the template ... and the
template would fail if it had been sent. Instead we set default_other_repo_info
to the other_repos_info struct and use that to find the owner.
1e757ac98988 41241617a7a3 1e757ac98988 41241617a7a3 1f334a68d057 41241617a7a3 f91d3f9b7230 41241617a7a3 f91d3f9b7230 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 c20adbaf16af b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 c20adbaf16af f91d3f9b7230 c20adbaf16af b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 c20adbaf16af f91d3f9b7230 c20adbaf16af c20adbaf16af c20adbaf16af c20adbaf16af c20adbaf16af c20adbaf16af c20adbaf16af c20adbaf16af f91d3f9b7230 c20adbaf16af b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 c20adbaf16af f91d3f9b7230 c20adbaf16af b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 c20adbaf16af f91d3f9b7230 c20adbaf16af b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 c20adbaf16af f91d3f9b7230 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 eef9e273347a eef9e273347a eef9e273347a eef9e273347a f91d3f9b7230 b4f401524060 41241617a7a3 | ## -*- coding: utf-8 -*-
<%inherit file="base/root.html"/>
<%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="firstname">${_('First Name')}:</label>
</div>
<div class="input">
${h.text('firstname',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">
${h.submit('sign_up',_('Sign Up'),class_="ui-btn large")}
%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>
</div>
${h.end_form()}
<script type="text/javascript">
YUE.onDOMReady(function(){
YUD.get('username').focus();
})
</script>
</div>
</div>
|