Fix local-transaction template error on validation error.

A validation error when editing a local transaction was causing 500 errors. This was triggered by a spurious template that got left behind in #256.