Permalink
Browse files

Fixed #63. Use return_url in templates instead of cancel_url

  • Loading branch information...
1 parent fa63062 commit d7cb58ce039425bb5ef55c94ec1a5f279ae9bed0 @mrjoes mrjoes committed Sep 26, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 flask_admin/templates/admin/model/create.html
  2. +1 −1 flask_admin/templates/admin/model/edit.html
@@ -22,7 +22,7 @@
{% call lib.form_tag() %}
{{ lib.render_form_fields(form) }}
- {{ lib.render_form_buttons(cancel_url, extra()) }}
+ {{ lib.render_form_buttons(return_url, extra()) }}
{% endcall %}
{% endblock %}
@@ -9,7 +9,7 @@
{% block body %}
{% call lib.form_tag() %}
{{ lib.render_form_fields(form) }}
- {{ lib.render_form_buttons(cancel_url) }}
+ {{ lib.render_form_buttons(return_url) }}
{% endcall %}
{% endblock %}

0 comments on commit d7cb58c

Please sign in to comment.