File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ class IMySchema(model.Schema):
161
161
form.read_permission(secret = " cmf.ManagePortal" )
162
162
form.write_permission(secret = " cmf.ManagePortal" )
163
163
secret = schema.TextLine(
164
- title = u " Secret" ,
164
+ title = " Secret" ,
165
165
)
166
166
```
167
167
Original file line number Diff line number Diff line change @@ -241,13 +241,13 @@ class IMySchema(model.Schema):
241
241
242
242
form.omitted("dummy")
243
243
dummy = schema.Text(
244
- title=u "Dummy"
244
+ title="Dummy"
245
245
)
246
246
247
247
form.omitted("edit_only")
248
248
form.no_omit(IEditForm, "edit_only")
249
249
edit_only = schema.TextLine(
250
- title = u "Only included on edit forms",
250
+ title = "Only included on edit forms",
251
251
)
252
252
```
253
253
@@ -287,14 +287,14 @@ from plone.autoform import directives as form
287
287
class IMySchema(model.Schema):
288
288
289
289
summary = schema.Text(
290
- title=u "Summary",
291
- description=u "Summary of the body",
290
+ title="Summary",
291
+ description="Summary of the body",
292
292
readonly=True
293
293
)
294
294
295
295
form.order_before(not_last="summary")
296
296
not_last = schema.TextLine(
297
- title=u "Not last",
297
+ title="Not last",
298
298
)
299
299
```
300
300
@@ -332,16 +332,16 @@ from plone.autoform import directives as form
332
332
class IMySchema(model.Schema):
333
333
334
334
model.fieldset("extra",
335
- label=u "Extra info",
335
+ label="Extra info",
336
336
fields=["footer", "dummy"]
337
337
)
338
338
339
339
footer = schema.Text(
340
- title=u "Footer text",
340
+ title="Footer text",
341
341
)
342
342
343
343
dummy = schema.Text(
344
- title=u "Dummy"
344
+ title="Dummy"
345
345
)
346
346
```
347
347
Original file line number Diff line number Diff line change @@ -95,8 +95,8 @@ class IMySchema(model.Schema):
95
95
form.mode(secret="hidden")
96
96
form.mode(IEditForm, secret="input")
97
97
secret = schema.TextLine(
98
- title=u "Secret",
99
- default=u "Secret stuff (except on edit forms)"
98
+ title="Secret",
99
+ default="Secret stuff (except on edit forms)"
100
100
)
101
101
```
102
102
You can’t perform that action at this time.
0 commit comments