From 51c614fb3c4e4ac2b0de76a137cd9e4ba9d1261a Mon Sep 17 00:00:00 2001 From: Trey Hunner Date: Thu, 27 Jun 2013 01:07:50 -0700 Subject: [PATCH] Add "add payment profile" link to customer profile --- .../admin/authorizenet/customerprofile/change_form.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/authorizenet/templates/admin/authorizenet/customerprofile/change_form.html b/authorizenet/templates/admin/authorizenet/customerprofile/change_form.html index f0b8ce5..8790e8d 100644 --- a/authorizenet/templates/admin/authorizenet/customerprofile/change_form.html +++ b/authorizenet/templates/admin/authorizenet/customerprofile/change_form.html @@ -1,4 +1,13 @@ {% extends "admin/authorizenet/change_form.html" %} +{% load url from future %} {% block submit_buttons_bottom %}{% if not change %}{{ block.super }}{% endif %}{% endblock %} {% block submit_buttons_top %}{% if not change %}{{ block.super }}{% endif %}{% endblock %} + +{% block inline_field_sets %} +{{ block.super }} +{% if change %} + + Add payment profile
+{% endif %} +{% endblock %}