We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9021ae3 + d686dfa commit 13e54c1Copy full SHA for 13e54c1
qiita_pet/handlers/study_handlers/edit_handlers.py
@@ -198,8 +198,8 @@ def post(self, study=None):
198
if study:
199
# Check study and user access
200
the_study = self._check_study_exists_and_user_access(study)
201
- # If the study is public, we use the short version of the form
202
- if the_study.status == 'public':
+ # If the study is not sandbox, we use the short version
+ if the_study.status != 'sandbox':
203
form_factory = StudyEditorForm
204
205
# Get the form data from the request arguments
0 commit comments