{{ form.hidden_tag() }} {% with sub_form = form.account_info, id_prefix = 'transaction' %} {% include 'banking/transaction_form/bank_info_form.html' %} {% endwith %}
{{ form.transaction_date.label }} {{ form.transaction_date }}
{{ form.total.label }} {{ form.total }}
{{ form.note.label }} {{ form.note }}
{% if not update %}
+ Record Transfer
{% endif %}
{% if update == 'transfer' %} {{ form.submit(class_="button", onclick="return alert('This transaction is a transfer and is linked to another. You must update that transaction manually, as changes will not be propagated.')") }} {% else %} {{ form.submit(class_="button") }} {% endif %}