diff options
author | Sarah Scott <sarahscottcatalyst.net.nz> | 2022-01-06 08:42:22 +1300 |
---|---|---|
committer | Sarah Scott <sarahscottcatalyst.net.nz> | 2022-01-06 08:42:22 +1300 |
commit | 781c1ee9d61dc9b38b7fa0a33277befacc38c58d (patch) | |
tree | 8ba2df13d1e7ed18a9d56218d03163b263afad77 | |
parent | 26e73903c8b4b5591608918afc8a2d0933c1848d (diff) | |
download | webtest-781c1ee9d61dc9b38b7fa0a33277befacc38c58d.tar.gz |
Clarify use of forms property when more then one form in html
-rw-r--r-- | docs/forms.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/forms.rst b/docs/forms.rst index 1d4cec0..349e61d 100644 --- a/docs/forms.rst +++ b/docs/forms.rst @@ -19,7 +19,8 @@ If you have a single html form in your page, just use the ``.form`` attribute: >>> res = app.get('/form.html') >>> form = res.form -You can use the form index if your html contains more than one form: +If you have more then one html form in your page use the ``.forms`` property and +access via the form index: .. code-block:: python |