##// END OF EJS Templates
users: do not require description on admin user creation
marcink -
r4056:0532bdf7 default
parent child
Show More
@@ -143,7 +143,8 def UserForm(localizer, edit=False, avai
143 firstname = v.UnicodeString(strip=True, min=1, not_empty=False)
143 firstname = v.UnicodeString(strip=True, min=1, not_empty=False)
144 lastname = v.UnicodeString(strip=True, min=1, not_empty=False)
144 lastname = v.UnicodeString(strip=True, min=1, not_empty=False)
145 email = All(v.UniqSystemEmail(localizer, old_data), v.Email(not_empty=True))
145 email = All(v.UniqSystemEmail(localizer, old_data), v.Email(not_empty=True))
146 description = v.UnicodeString(strip=True, min=1, max=250, not_empty=False)
146 description = v.UnicodeString(strip=True, min=1, max=250, not_empty=False,
147 if_missing='')
147 extern_name = v.UnicodeString(strip=True)
148 extern_name = v.UnicodeString(strip=True)
148 extern_type = v.UnicodeString(strip=True)
149 extern_type = v.UnicodeString(strip=True)
149 language = v.OneOf(available_languages, hideList=False,
150 language = v.OneOf(available_languages, hideList=False,
@@ -118,7 +118,7
118 <div class="checkboxes">
118 <div class="checkboxes">
119 ${h.checkbox('create_repo_group',value=True, checked=c.default_create_repo_group)}
119 ${h.checkbox('create_repo_group',value=True, checked=c.default_create_repo_group)}
120 <span class="help-block">
120 <span class="help-block">
121 ${_('New group will be created at: `/%(path)s`') % {'path': c.personal_repo_group_name}}<br/>
121 ${_('New group will be created at: `/{path}`').format(path=c.personal_repo_group_name)}<br/>
122 ${_('User will be automatically set as this group owner.')}
122 ${_('User will be automatically set as this group owner.')}
123 </span>
123 </span>
124 </div>
124 </div>
General Comments 0
You need to be logged in to leave comments. Login now