Commit d7cb58ce authored by Serge S. Koval's avatar Serge S. Koval

Fixed #63. Use return_url in templates instead of cancel_url

parent fa63062e
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
{% call lib.form_tag() %} {% call lib.form_tag() %}
{{ lib.render_form_fields(form) }} {{ lib.render_form_fields(form) }}
{{ lib.render_form_buttons(cancel_url, extra()) }} {{ lib.render_form_buttons(return_url, extra()) }}
{% endcall %} {% endcall %}
{% endblock %} {% endblock %}
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
{% block body %} {% block body %}
{% call lib.form_tag() %} {% call lib.form_tag() %}
{{ lib.render_form_fields(form) }} {{ lib.render_form_fields(form) }}
{{ lib.render_form_buttons(cancel_url) }} {{ lib.render_form_buttons(return_url) }}
{% endcall %} {% endcall %}
{% endblock %} {% endblock %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment