Skip to content

Commit

Permalink
add autocomplete attrs to signup and cc pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonpriem committed Mar 20, 2015
1 parent b5fe2b6 commit 078e981
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 3 deletions.
17 changes: 15 additions & 2 deletions totalimpactwebapp/static/dist/Impactstory.js
@@ -1,4 +1,4 @@
/*! Impactstory - v0.0.1-SNAPSHOT - 2015-03-19
/*! Impactstory - v0.0.1-SNAPSHOT - 2015-03-20
* http://impactstory.org
* Copyright (c) 2015 Impactstory;
* Licensed MIT
Expand Down Expand Up @@ -11025,6 +11025,9 @@ angular.module("settings/subscription-settings.tpl.html", []).run(["$templateCac
" class=\"form-control\"\n" +
" name=\"card-holder-name\"\n" +
" id=\"card-holder-name\"\n" +
" autocomplete=\"name\"\n" +
" x-autocompletetype=\"name\"\n" +
" required\n" +
" placeholder=\"Card Holder's Name\">\n" +
" </div>\n" +
" </div>\n" +
Expand All @@ -11042,6 +11045,9 @@ angular.module("settings/subscription-settings.tpl.html", []).run(["$templateCac
" payments-format=\"card\"\n" +
" payments-type-model=\"type\"\n" +
" ng-class=\"type\"\n" +
" autocomplete=\"cc-number\"\n" +
" x-autocompletetype=\"cc-number\"\n" +
" required\n" +
" placeholder=\"Credit Card Number\">\n" +
" </div>\n" +
" </div>\n" +
Expand All @@ -11058,6 +11064,9 @@ angular.module("settings/subscription-settings.tpl.html", []).run(["$templateCac
" ng-model=\"expiry\"\n" +
" payments-validate=\"expiry\"\n" +
" payments-format=\"expiry\"\n" +
" autocomplete=\"cc-exp\"\n" +
" x-autocompletetype=\"cc-exp\"\n" +
" required\n" +
" placeholder=\"MM/YY\">\n" +
" </div>\n" +
" </div>\n" +
Expand All @@ -11075,14 +11084,17 @@ angular.module("settings/subscription-settings.tpl.html", []).run(["$templateCac
" payments-validate=\"cvc\"\n" +
" payments-format=\"cvc\"\n" +
" payments-type-model=\"type\"\n" +
" autocomplete=\"cc-csc\"\n" +
" x-autocompletetype=\"cc-csc\"\n" +
" required\n" +
" placeholder=\"CVV\">\n" +
" </div>\n" +
" <div class=\"col-sm-2 cvv-graphic\">\n" +
" <img src=\"static/img/cvv-graphic.png\" alt=\"cvv graphic\"/>\n" +
" </div>\n" +
" </div>\n" +
"\n" +
" <!-- CVV -->\n" +
" <!-- coupon code -->\n" +
" <div class=\"form-group\">\n" +
" <label class=\"col-sm-3 control-label\" for=\"coupon-code\">Coupon code</label>\n" +
" <div class=\"col-sm-9\">\n" +
Expand Down Expand Up @@ -11346,6 +11358,7 @@ angular.module("signup/signup.tpl.html", []).run(["$templateCache", function($te
" id=\"signup-email\"\n" +
" type=\"email\"\n" +
" class=\"form-control input-lg\"\n" +
" autocomplete=\"email\"\n" +
" required />\n" +
" <div class=\"help-block\" ng-show=\"emailTaken()\">Sorry, that email is taken.</div>\n" +
" </div>\n" +
Expand Down
Expand Up @@ -105,6 +105,9 @@ <h4>If you ever decide you're not getting your money's worth, we'll refund it al
class="form-control"
name="card-holder-name"
id="card-holder-name"
autocomplete="name"
x-autocompletetype="name"
required
placeholder="Card Holder's Name">
</div>
</div>
Expand All @@ -122,6 +125,9 @@ <h4>If you ever decide you're not getting your money's worth, we'll refund it al
payments-format="card"
payments-type-model="type"
ng-class="type"
autocomplete="cc-number"
x-autocompletetype="cc-number"
required
placeholder="Credit Card Number">
</div>
</div>
Expand All @@ -138,6 +144,9 @@ <h4>If you ever decide you're not getting your money's worth, we'll refund it al
ng-model="expiry"
payments-validate="expiry"
payments-format="expiry"
autocomplete="cc-exp"
x-autocompletetype="cc-exp"
required
placeholder="MM/YY">
</div>
</div>
Expand All @@ -155,14 +164,17 @@ <h4>If you ever decide you're not getting your money's worth, we'll refund it al
payments-validate="cvc"
payments-format="cvc"
payments-type-model="type"
autocomplete="cc-csc"
x-autocompletetype="cc-csc"
required
placeholder="CVV">
</div>
<div class="col-sm-2 cvv-graphic">
<img src="static/img/cvv-graphic.png" alt="cvv graphic"/>
</div>
</div>

<!-- CVV -->
<!-- coupon code -->
<div class="form-group">
<label class="col-sm-3 control-label" for="coupon-code">Coupon code</label>
<div class="col-sm-9">
Expand Down
1 change: 1 addition & 0 deletions totalimpactwebapp/static/src/app/signup/signup.tpl.html
Expand Up @@ -60,6 +60,7 @@ <h2 class="cta">Start discovering your full impact in under 60 seconds.</h2>
id="signup-email"
type="email"
class="form-control input-lg"
autocomplete="email"
required />
<div class="help-block" ng-show="emailTaken()">Sorry, that email is taken.</div>
</div>
Expand Down

0 comments on commit 078e981

Please sign in to comment.