Skip to content

Commit

Permalink
Merge pull request #1 from VAlmea/not-autocomplete-credit-card-numbers
Browse files Browse the repository at this point in the history
Not autocomplete credit card numbers
  • Loading branch information
VAlmea authored Sep 12, 2022
2 parents b2d1d1d + e8bc02e commit bce5aa3
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<div class="col-sm-6 offset-sm-0">
<input type="text" name="cccardnumber" id="cccardnumber" maxlength="20"
value="@Model.PaymentViewModel.DataCreditCard.CardNumber"
class="form-control @Model.IsErr("cccardnumber")" autocomplete="off" />
class="form-control @Model.IsErr("cccardnumber")" autocomplete="cc-csc" />
</div>
</div>
<div class="form-group row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<input type="text" name="cccardnumber" id="cccardnumber" size="20" maxlength="20"
tabindex="501"
value="@Model.PaymentViewModel.DataCreditCard.CardNumber"
class="@Model.IsErr("cccardnumber")" autocomplete="off" />
class="@Model.IsErr("cccardnumber")" autocomplete="cc-csc" />

</div>
<div class="dnnFormItem">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<div class="col-sm-offset-0 col-sm-6">
<input type="text" name="cccardnumber" id="cccardnumber" maxlength="20"
value="@Model.PaymentViewModel.DataCreditCard.CardNumber"
class="form-control @Model.IsErr("cccardnumber")" autocomplete="off" />
class="form-control @Model.IsErr("cccardnumber")" autocomplete="cc-csc" />
</div>
</div>
<div class="form-group">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<div class="form-group dnnFormRequired">
<label class="col-sm-4 control-label" for="cccardnumber">@Localization.GetString("CardNumber"):</label>
<div class="col-sm-offset-0 col-sm-6">
<input type="text" name="cccardnumber" id="cccardnumber" maxlength="20"
<input type="text" name="cccardnumber" id="cccardnumber" maxlength="20" autocomplete="cc-csc"
value="@Model.PaymentViewModel.DataCreditCard.CardNumber"
class="form-control @Model.IsErr("cccardnumber")" />
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<div class="col-sm-6 offset-sm-0">
<input type="text" name="cccardnumber" id="cccardnumber" maxlength="20"
value="@Model.PaymentViewModel.DataCreditCard.CardNumber"
class="form-control @Model.IsErr("cccardnumber")" autocomplete="off" />
class="form-control @Model.IsErr("cccardnumber")" autocomplete="cc-csc" />
</div>
</div>
<div class="form-group row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<input type="text" name="cccardnumber" id="cccardnumber" size="20" maxlength="20"
tabindex="501"
value="@Model.PaymentViewModel.DataCreditCard.CardNumber"
class="@Model.IsErr("cccardnumber")" autocomplete="off" />
class="@Model.IsErr("cccardnumber")" autocomplete="cc-csc" />

</div>
<div class="dnnFormItem">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<div class="col-sm-6 offset-sm-0">
<input type="text" name="cccardnumber" id="cccardnumber" maxlength="20"
value="@Model.PaymentViewModel.DataCreditCard.CardNumber"
class="form-control @Model.IsErr("cccardnumber")" autocomplete="off" />
class="form-control @Model.IsErr("cccardnumber")" autocomplete="cc-csc" />
</div>
</div>
<div class="form-group row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<div class="col-sm-6 offset-sm-0">
<input type="text" name="cccardnumber" id="cccardnumber" maxlength="20"
value="@Model.PaymentViewModel.DataCreditCard.CardNumber"
class="form-control @Model.IsErr("cccardnumber")" autocomplete="off" />
class="form-control @Model.IsErr("cccardnumber")" autocomplete="cc-csc" />
</div>
</div>
<div class="form-group row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<input type="text" name="cccardnumber" id="cccardnumber" size="20" maxlength="20"
tabindex="501"
value="@Model.PaymentViewModel.DataCreditCard.CardNumber"
class="@Model.IsErr("cccardnumber")" autocomplete="off" />
class="@Model.IsErr("cccardnumber")" autocomplete="cc-csc" />

</div>
<div class="dnnFormItem">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<input type="text" name="cccardnumber" id="cccardnumber" size="20" maxlength="20"
tabindex="501"
value="@Model.PaymentViewModel.DataCreditCard.CardNumber"
class="@Model.IsErr("cccardnumber")" autocomplete="off" />
class="@Model.IsErr("cccardnumber")" autocomplete="cc-csc" />

</div>
<div class="dnnFormItem">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
<div class="form-group dnnFormRequired">
<label class="col-sm-4 control-label" for="cccardnumber">@Localization.GetString("CardNumber"):</label>
<div class="col-sm-offset-0 col-sm-6">
<input type="text" name="cccardnumber" id="cccardnumber" maxlength="20"
<input type="text" name="cccardnumber" id="cccardnumber" maxlength="20" autocomplete="cc-csc"
value="@Model.PaymentViewModel.DataCreditCard.CardNumber"
class="form-control @Model.IsErr("cccardnumber")" autocomplete="off" />
class="form-control @Model.IsErr("cccardnumber")" />
</div>
</div>
<div class="form-group">
Expand Down

0 comments on commit bce5aa3

Please sign in to comment.