diff --git a/ihatemoney/templates/forms.html b/ihatemoney/templates/forms.html index 78398ce74..48c3df2b7 100644 --- a/ihatemoney/templates/forms.html +++ b/ihatemoney/templates/forms.html @@ -200,7 +200,11 @@
{{ form.submit(class="btn btn-primary") }} - {% if not edit %} {{ form.submit2(class="btn btn-light") }}{% endif %} + {% if edit %} + {{_("Cancel") }} + {% else %} + {{ form.submit2(class="btn btn-light") }} + {% endif %}
{% endmacro %}