flake8
 passed.
 
 
 JSHint
 passed.
 
Review Request #11349 — Created Dec. 23, 2020 and submitted
The new
change_form_submit_buttonstemplate tag had some bad logic in
it that could lead to a failure when adding new objects. It made two bad
assumptions:
changewas an object (it's abool)- It could always compute a delete URL (it can't if
 change == False).This change fixes up the logic to treat
changecorrectly and to only
generate a delete URL if we know we're showing the link.
Re-tested all types of pages, including change forms creating a new object.
Unit tests pass.
| Summary | ID | 
|---|---|
| f0201bd6645ab676e9cf1e180c48cad8171479c8 |