Skip to content

Commit

Permalink
Minor doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
boxed committed Sep 30, 2024
1 parent a280319 commit 8286d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iommi/form.py
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ def __init__(self, **kwargs):
:param after: Set the order of columns, see the `howto <https://docs.iommi.rocks/en/latest/cookbook_forms.html#how-do-i-change-the-order-of-the-fields>`_ for an example.
:param initial: Initial value of the field
:param attr: The attribute path to apply or get the data from. For example using `foo__bar__baz` will result in `your_instance.foo.bar.baz` will be set by the `apply()` function. Defaults to same as name
:param attr: The attribute path to apply or get the data from. For example using `foo__bar__baz` will result in `your_instance.foo.bar.baz` will be set by the `apply()` function. Setting this to `None` will mean no attribute is read or written by `apply()`. Defaults to same as `name`.
:param attrs: A dict containing any custom html attributes to be sent to the `input__template`.
:param display_name: The text in the HTML label tag. Default: `capitalize(name).replace('_', ' ')`
:param template: Django template filename or `Template` instance for the entire row. Normally you shouldn't need to override on this level. Prefer overriding `input__template`, `label__template` or `error__template` as needed.
Expand Down

0 comments on commit 8286d8d

Please sign in to comment.