##// END OF EJS Templates
raise na OSERROR if repository data sent from git hook to hook handler is somehow invalid
raise na OSERROR if repository data sent from git hook to hook handler is somehow invalid

File last commit:

r2607:7ae36df7 beta
r2818:3d0bd5f7 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">
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">
removed deprecated ui-button
r2607 ${h.submit('save',_('save'),class_="ui-btn large")}
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 </div>
</div>
${h.end_form()}
White-space cleanup
r1888 </div>
</%def>