For both institutions and participants, the "archive" button shows up on the create form. This is a bug, especially since clicking the archive button on that form does nothing.
The archive buttons are purple in the screenshots below:
This is technical debt from when I added the archive button, most likely. See ee443ad6ffd39b4814ec0c1abfcd3f2324f1fd82. The built-in show_delete_link variable has more information than my new can_archive variable -- it's not just about permission, it's also about the context. See admin_modify.py, in django/contrib/admin.
For both institutions and participants, the "archive" button shows up on the create form. This is a bug, especially since clicking the archive button on that form does nothing.
The archive buttons are purple in the screenshots below:
This is technical debt from when I added the archive button, most likely. See ee443ad6ffd39b4814ec0c1abfcd3f2324f1fd82. The built-in
show_delete_link
variable has more information than my newcan_archive
variable -- it's not just about permission, it's also about the context. Seeadmin_modify.py
, indjango/contrib/admin
.