##// END OF EJS Templates
merge with rc1
merge with rc1

File last commit:

r3654:ec635494 beta
r3700:3563bb7b merge default
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()">
improved title consistency...
r3582 ${_('Add user')} &middot; ${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;
Mads Kiilerich
Fix a lot of casings - use standard casing in most places
r3654 ${_('Add new user')}
renamed project to rhodecode
r547 </%def>
<%def name="page_nav()">
Mads Kiilerich
html: don't use tabs
r3197 ${self.menu('admin')}
renamed project to rhodecode
r547 </%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">
renamed some leftover name -> firstname
r2595 <label for="firstname">${_('First Name')}:</label>
renamed project to rhodecode
r547 </div>
<div class="input">
renamed some leftover name -> firstname
r2595 ${h.text('firstname',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">
Mads Kiilerich
Fix a lot of casings - use standard casing in most places
r3654 ${h.submit('save',_('Save'),class_="ui-btn large")}
White-space cleanup
r1888 </div>
Mads Kiilerich
html: don't use tabs
r3197 </div>
renamed project to rhodecode
r547 </div>
${h.end_form()}
White-space cleanup
r1888 </div>
</%def>