Mercurial > libervia-web
annotate libervia/pages/blog/edit/_browser/__init__.py @ 1458:db13f5c768a0
server: `checkRedirection`: fix range variable + type hints + arg name:
- fix wrong variable used for range
- add type hints
- use a better argument to show that a URL path is used and not a whole URL
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 29 Sep 2021 17:39:08 +0200 |
parents | 925a7c498cda |
children |
rev | line source |
---|---|
1416 | 1 import editor |
2 | |
3 | |
4 editor.set_form_autosave("blog_post_edit") | |
1420
925a7c498cda
pages (blog/edit): move preview code to new `BlogEditor` class in `editor` module
Goffi <goffi@goffi.org>
parents:
1416
diff
changeset
|
5 editor.BlogEditor() |
1416 | 6 editor.TagsEditor("input[name='tags']") |