##// END OF EJS Templates
Added session wrapper, for rc 1.2.X compatibility. Adds backwards compatability...
Added session wrapper, for rc 1.2.X compatibility. Adds backwards compatability for older RhodeCode sessions, created before 1.3 series.

File last commit:

r1950:4ae17f81 beta
r2030:61f9aeb2 beta
Show More
user_add.html
100 lines | 2.9 KiB | text/html | HtmlLexer
renamed project to rhodecode
r547 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
#38 updated RhodeCode titles
r619 ${_('Add user')} - ${c.rhodecode_name}
renamed project to rhodecode
r547 </%def>
<%def name="breadcrumbs_links()">
White-space cleanup
r1888 ${h.link_to(_('Admin'),h.url('admin_home'))}
&raquo;
${h.link_to(_('Users'),h.url('users'))}
renamed project to rhodecode
r547 &raquo;
${_('add new user')}
</%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
White-space cleanup
r1888 ${self.breadcrumbs()}
renamed project to rhodecode
r547 </div>
<!-- end box / title -->
${h.form(url('users'))}
<div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label">
<label for="username">${_('Username')}:</label>
</div>
<div class="input">
fixed search button
r582 ${h.text('username',class_='small')}
renamed project to rhodecode
r547 </div>
</div>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="field">
<div class="label">
<label for="password">${_('Password')}:</label>
</div>
<div class="input">
fixed search button
r582 ${h.password('password',class_='small')}
renamed project to rhodecode
r547 </div>
</div>
White-space cleanup
r1888
implements #237 added password confirmation for my account and admin edit user.
r1597 <div class="field">
<div class="label">
<label for="password_confirmation">${_('Password confirmation')}:</label>
</div>
<div class="input">
${h.password('password_confirmation',class_="small",autocomplete="off")}
</div>
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 <div class="field">
<div class="label">
fixes #66 leftover
r725 <label for="name">${_('First Name')}:</label>
renamed project to rhodecode
r547 </div>
<div class="input">
fixed search button
r582 ${h.text('name',class_='small')}
renamed project to rhodecode
r547 </div>
</div>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="field">
<div class="label">
fixes #66 leftover
r725 <label for="lastname">${_('Last Name')}:</label>
renamed project to rhodecode
r547 </div>
<div class="input">
fixed search button
r582 ${h.text('lastname',class_='small')}
renamed project to rhodecode
r547 </div>
</div>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="field">
<div class="label">
<label for="email">${_('Email')}:</label>
</div>
<div class="input">
fixed search button
r582 ${h.text('email',class_='small')}
renamed project to rhodecode
r547 </div>
</div>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="field">
<div class="label label-checkbox">
<label for="active">${_('Active')}:</label>
</div>
<div class="checkboxes">
#344 optional firstname lastname on user creation...
r1950 ${h.checkbox('active',value=True,checked='checked')}
renamed project to rhodecode
r547 </div>
</div>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="buttons">
Augusto Herrmann
Added pt_BR localization, added i18n wrappers on some places missing, fixed css in settings screen for longer labels.
r1472 ${h.submit('save',_('save'),class_="ui-button")}
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 </div>
</div>
${h.end_form()}
White-space cleanup
r1888 </div>
</%def>