Allow creating and setting a previously unknown owner from AK editing form
Add a new link to edit form leading to owner creation form and passing the primary key of the edited AK/wish to that view To realize that link, the corresponding field is excluded from the default form rendering and the rendering is triggered manually for that field (and the name field that should still appear on top) When user is successfully created, they is set as owner of an AK, the user is redirect to the detail page of that AK and a message is displayed Add corresponding test This implements #96 and #86
parent
a0e8d5de
No related branches found
No related tags found
Showing
- AKSubmission/locale/de_DE/LC_MESSAGES/django.po 25 additions, 13 deletionsAKSubmission/locale/de_DE/LC_MESSAGES/django.po
- AKSubmission/templates/AKSubmission/ak_edit.html 11 additions, 0 deletionsAKSubmission/templates/AKSubmission/ak_edit.html
- AKSubmission/templates/AKSubmission/submit_new.html 3 additions, 1 deletionAKSubmission/templates/AKSubmission/submit_new.html
- AKSubmission/tests.py 17 additions, 0 deletionsAKSubmission/tests.py
- AKSubmission/views.py 7 additions, 0 deletionsAKSubmission/views.py
Loading
Please register or sign in to comment