diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2022-02-16 20:08:26 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2022-03-09 16:09:55 -0800 |
commit | 4c7e0f2de21185fca25244204567a3351a3ebc0a (patch) | |
tree | b12743cb181aa9dcf863dad908297c314ac4dfc5 /python/fatcat_web/forms.py | |
parent | 7f6a03c31d2bae482896243e7468bc1290b1678b (diff) | |
download | fatcat-4c7e0f2de21185fca25244204567a3351a3ebc0a.tar.gz fatcat-4c7e0f2de21185fca25244204567a3351a3ebc0a.zip |
web editing: set entity status, eg when re-editing
Diffstat (limited to 'python/fatcat_web/forms.py')
-rw-r--r-- | python/fatcat_web/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_web/forms.py b/python/fatcat_web/forms.py index 9f11c423..754018d6 100644 --- a/python/fatcat_web/forms.py +++ b/python/fatcat_web/forms.py @@ -522,7 +522,7 @@ class EntityTomlForm(EntityEditForm): Initializes form with TOML version of existing entity """ etf = EntityTomlForm() - if entity.state == "active": + if entity.state in ["active", "wip"]: pop_fields = ["ident", "state", "revision", "redirect"] else: pop_fields = ["ident", "state"] |