mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Update evform.py
Fixes uncommented lines.
This commit is contained in:
parent
bf6eeb288f
commit
24bd1d2e26
1 changed files with 3 additions and 2 deletions
|
|
@ -61,8 +61,9 @@ Use as follows:
|
|||
# create a new form from the template
|
||||
form = EvForm("path/to/testform.py")
|
||||
|
||||
(EvForm can also take a dictionary holding
|
||||
the required keys FORMCHAR, TABLECHAR and FORM)
|
||||
# EvForm can also take a dictionary instead of a filepath, as long
|
||||
# as the dict contains the keys FORMCHAR, TABLECHAR and FORM
|
||||
# form = EvForm(form=form_dict)
|
||||
|
||||
# add data to each tagged form cell
|
||||
form.map(cells={1: "Tom the Bouncer",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue