{% extends "main/form/base.html" %}
{% load i18n %}
{% load main_extras %}
{% block title_new %}
  {% translate "Create transaction" %}
{% endblock %}
{% block h2_new %}
  {% translate "New transaction" %}
{% endblock %}
{% block pre %}
  {% if statement %}
    <p>
      <a href="{{ statement.get_absolute_url }}">{{ statement }}</a>
    </p>
  {% endif %}
  {% if not instance|adding %}
    <p>
      <a href="{{ instance.get_absolute_url }}">{{ "arrow-go-back"|remix }}{% translate "Back" %}</a>
    </p>
  {% endif %}
{% endblock %}
