[ofbiz-plugins] branch release18.12 updated: Fixed: Improve the buttons on edit credit card page (OFBIZ-10975)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-plugins] branch release18.12 updated: Fixed: Improve the buttons on edit credit card page (OFBIZ-10975)

Pawan Verma-2
This is an automated email from the ASF dual-hosted git repository.

pawan pushed a commit to branch release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/release18.12 by this push:
     new aa70084  Fixed: Improve the buttons on edit credit card page (OFBIZ-10975)
aa70084 is described below

commit aa7008407b47049a0c518ccb498c91fd8edccd27
Author: Pawan Verma <[hidden email]>
AuthorDate: Sun May 10 14:11:38 2020 +0530

    Fixed: Improve the buttons on edit credit card page
    (OFBIZ-10975)
   
    Thanks: Sourabh and Suraj for your contribution.
---
 ecommerce/template/customer/EditCreditCard.ftl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecommerce/template/customer/EditCreditCard.ftl b/ecommerce/template/customer/EditCreditCard.ftl
index 6c4e0ff..0867519 100644
--- a/ecommerce/template/customer/EditCreditCard.ftl
+++ b/ecommerce/template/customer/EditCreditCard.ftl
@@ -24,7 +24,6 @@ under the License.
   <#if !creditCard??>
     <h2>${uiLabelMap.AccountingAddNewCreditCard}</h2>
     <form method="post" action="<@ofbizUrl>createCreditCard?DONE_PAGE=${donePage}</@ofbizUrl>" name="editcreditcardform">
-    <div>
   <#else>
     <h2>${uiLabelMap.AccountingEditCreditCard}</h2>
     <form method="post" action="<@ofbizUrl>updateCreditCard?DONE_PAGE=${donePage}</@ofbizUrl>" name="editcreditcardform">
@@ -32,6 +31,7 @@ under the License.
   </#if>
   <a href="<@ofbizUrl>${donePage}</@ofbizUrl>" class="btn btn-outline-secondary">${uiLabelMap.CommonGoBack}</a>
   <a href="javascript:document.editcreditcardform.submit()" class="btn btn-outline-secondary">${uiLabelMap.CommonSave}</a>
+    <div>
     ${screens.render("component://ecommerce/widget/CustomerScreens.xml#creditCardFields")}
       <label class="mb-2">${uiLabelMap.PartyBillingAddress}</label>
       <#-- Removed because is confusing, can add but would have to come back here with all data populated as before...