Use templates for transaction row and input elements