Skip to content

Commit cbe4115

Browse files
committed
Tidy up fields.md
1 parent f0f407f commit cbe4115

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/backend/fields.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ With `plone.autoform` and `plone.supermodel` we can use directives to add inform
148148
By default, fields are included in the form regardless of the user's permissions.
149149
Fields can be protected using the `read_permission` and `write_permission` directives.
150150
The read permission is checked when the field is in display mode, and the write permission is checked when the field is in input mode.
151-
The permission should be given with its Zope 3-style name (such as `cmf.ManagePortal` instead of `Manage portal`).
151+
The permission should be given with its Zope 3-style name, such as `cmf.ManagePortal` instead of `Manage portal`.
152152

153153
In this example, the `secret` field is protected by the `cmf.ManagePortal` permission as both a read and write permission.
154154
This means that in both display and input modes, the field will only be included in the form for users who have that permission:
@@ -165,7 +165,7 @@ class IMySchema(model.Schema):
165165
)
166166
```
167167

168-
In supermodel XML the directives are `security:read-permission` and
168+
In supermodel XML, the directives are `security:read-permission` and
169169
`security:write-permission`:
170170

171171
```xml

0 commit comments

Comments
 (0)