mirror of
https://github.com/kakwa/ldapcherry
synced 2025-07-04 04:17:43 +02:00
adding textarea
This commit is contained in:
parent
e37b88dbda
commit
f7f72c7e11
2 changed files with 13 additions and 8 deletions
|
@ -16,7 +16,7 @@ from sets import Set
|
|||
import yaml
|
||||
|
||||
# List of available types for form
|
||||
types = ['string', 'email', 'int', 'stringlist', 'fix', 'password']
|
||||
types = ['string', 'textfield', 'email', 'int', 'stringlist', 'fix', 'password']
|
||||
|
||||
|
||||
class Attributes:
|
||||
|
@ -81,6 +81,8 @@ class Attributes:
|
|||
attr_type = self.attributes[attrid]['type']
|
||||
if attr_type == 'string':
|
||||
return
|
||||
elif attr_type == 'textfield':
|
||||
return
|
||||
elif attr_type == 'email':
|
||||
if self._is_email(value):
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue