Added docstrings to BaseForm clasess
This commit is contained in:
parent
fced4d5756
commit
26dd863af8
6 changed files with 31 additions and 0 deletions
|
|
@ -7,8 +7,15 @@ env=env_theme(__file__)
|
|||
t=PTemplate(env)
|
||||
|
||||
class TextHTMLForm(BaseForm):
|
||||
"""Form for html texts, based in tinycme javascript library"""
|
||||
|
||||
def __init__(self, name, value, t_add=None):
|
||||
"""
|
||||
Args:
|
||||
name (str): The html name for this form
|
||||
value (str): The default value of this html form.
|
||||
t_add (PTemplate): If you want change the standard html form, use other template loader
|
||||
"""
|
||||
|
||||
super().__init__(name, value)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue