Skip to content
Snippets Groups Projects

Feature/provenance

Merged Carlos Vega requested to merge feature/provenance into master
All threads resolved!
1 file
+ 0
1
Compare changes
  • Side-by-side
  • Inline
@@ -82,7 +82,6 @@ def subject_edit(request, id):
subject_form.save()
# check if subject was marked as dead or resigned
if 'type' in study_subject_form.changed_data and old_type != study_subject_form.cleaned_data['type']:
SUBJECT_TYPE_CHOICES
worker = Worker.get_by_user(request.user)
old_value = SUBJECT_TYPE_CHOICES.get(old_type, old_type)
new_value = SUBJECT_TYPE_CHOICES.get(study_subject_form.cleaned_data['type'], study_subject_form.cleaned_data['type'])
Loading