Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #63. Use return_url in templates instead of cancel_url

  • Loading branch information...
commit d7cb58ce039425bb5ef55c94ec1a5f279ae9bed0 1 parent fa63062
@mrjoes mrjoes authored
View
2  flask_admin/templates/admin/model/create.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 %}
View
2  flask_admin/templates/admin/model/edit.html
@@ -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 %}
Please sign in to comment.
Something went wrong with that request. Please try again.