[gen] Bugfix in model.py::class User.
This commit is contained in:
		
							parent
							
								
									02a7be98ff
								
							
						
					
					
						commit
						79ebc1cbf9
					
				
					 2 changed files with 3 additions and 4 deletions
				
			
		|  | @ -187,9 +187,9 @@ class User(ModelClass): | |||
|                            label=(None, 'password1'), **pm) | ||||
|     password4 = gen.String(show=showPassword34, format=gen.String.PASSWORD, | ||||
|                            label=(None, 'password2'), **pm) | ||||
|     pm['multiplicity'] = (0, None) | ||||
|     def showEmail(self): pass | ||||
|     email = gen.String(show=showEmail, **pm) | ||||
|     pm['multiplicity'] = (0, None) | ||||
|     def showRoles(self): pass | ||||
|     roles = gen.String(show=showRoles, indexed=True, | ||||
|                        validator=gen.Selection('getGrantableRoles'), **pm) | ||||
|  |  | |||
|  | @ -28,9 +28,8 @@ input[type=submit] { border: 1px solid #d0d0d0; background-color: #f8f8f8; | |||
|                      cursor: pointer } | ||||
| input[type=password] { border: 1px solid #d0d0d0; | ||||
|                        font-family: "Lucida Grande","Lucida Sans Unicode",Helvetica,Arial,Verdana,sans-serif } | ||||
| input[type=text] { border: 1px solid #d0d0d0; | ||||
|                    font-family: "Lucida Grande","Lucida Sans Unicode",Helvetica,Arial,Verdana,sans-serif; | ||||
|                    margin-bottom: 1px } | ||||
| input[type=text] { border: 1px solid #d0d0d0; padding: 0 2px; margin-bottom:1px; | ||||
|                    font-family: "Lucida Grande","Lucida Sans Unicode",Helvetica,Arial,Verdana,sans-serif } | ||||
| select { border: 1px solid #d0d0d0; background-color: white } | ||||
| 
 | ||||
| textarea { width: 99%; font: 100% "Lucida Grande","Lucida Sans Unicode",Helvetica,Arial,Verdana,sans-serif; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Gaetan Delannay
						Gaetan Delannay