1
0
Fork 0
mirror of https://github.com/kakwa/ldapcherry synced 2025-07-04 04:17:43 +02:00

adding textarea

This commit is contained in:
Stan Rudenko 2017-03-02 18:47:49 -08:00
parent e37b88dbda
commit f7f72c7e11
2 changed files with 13 additions and 8 deletions

View file

@ -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