diff options
author | Steve Piercy <web@stevepiercy.com> | 2022-01-05 14:06:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 14:06:48 -0800 |
commit | ca58f4d1712d87397e84ed30fd87475c6a814d32 (patch) | |
tree | ba054579c9503d8882703117b0fa41bcdce46b31 | |
parent | 26e73903c8b4b5591608918afc8a2d0933c1848d (diff) | |
parent | 05a00edbd0418a6f71216a00b27fe64618679e88 (diff) | |
download | webtest-ca58f4d1712d87397e84ed30fd87475c6a814d32.tar.gz |
Merge pull request #239 from sjscott84/clarify-forms-in-docs
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..6e5b7c9 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 |