[interchange] Move "required field" text so visible on single page checkout

Josh Lavin interchange-cvs at icdevgroup.org
Mon Oct 31 21:20:38 UTC 2016


commit 23c8aec000d5128ecbd444f06a0a90a07fffc450
Author: Josh Lavin <digory at cpan.org>
Date:   Mon Oct 24 16:17:37 2016 -0700

    Move "required field" text so visible on single page checkout
    
    also indent for clarity

 dist/strap/include/checkout/shipping_address |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/dist/strap/include/checkout/shipping_address b/dist/strap/include/checkout/shipping_address
index e949f45..479c683 100644
--- a/dist/strap/include/checkout/shipping_address
+++ b/dist/strap/include/checkout/shipping_address
@@ -1,14 +1,15 @@
 <legend>[L]Shipping Address[/L] <small>([L]primary[/L])</small></legend>
 
 [if !scratch onepage]
-[if session logged_in]
-    <p>Please verify the information below.</p>
-[else]
-    <div class="alert alert-info"><a class="btn btn-info" href="[area href=login form=|destination=@@MV_PAGE@@|]">[msg arg.0='</a>' arg.1='<a class="alert-link" href="[area href=new_account form=|destination=@@MV_PAGE@@|]">' arg.2='</a>']Login%s to pre-fill this information. Or, %screate an account%s with us (optional).[/msg]</div>
-[/else]
+    [if session logged_in]
+        <p>Please verify the information below.</p>
+    [else]
+        <div class="alert alert-info"><a class="btn btn-info" href="[area href=login form=|destination=@@MV_PAGE@@|]">[msg arg.0='</a>' arg.1='<a class="alert-link" href="[area href=new_account form=|destination=@@MV_PAGE@@|]">' arg.2='</a>']Login%s to pre-fill this information. Or, %screate an account%s with us (optional).[/msg]</div>
+    [/else]
+    [/if]
 [/if]
+
 <p class="text-info"><i>[L]Asterisk (*) indicates required field[/L]</i></p>
-[/if]
 
 <div class="form-group">
     <label for="fname" class="col-sm-2 control-label">[error name=fname std_label="[L]First name[/L]" required=1]</label>



More information about the interchange-cvs mailing list