Last active
January 15, 2016 16:54
-
-
Save michaelhjulskov/0e6550defa757d7d0911 to your computer and use it in GitHub Desktop.
Quickpay form fix autocomplete bug - if you use this bug fix you will link to https://www.dyrefoder.dk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="payment_details" class="col-md-8"> | |
{% include 'form_error' %} | |
<form method="post" autocomplete="off" action="{{ model.form_action }}"> | |
<dl class="dl-horizontal"> | |
<dt>{{ lang.form.card.card_number }}:</dt> | |
<dd><input type="text" name="card_number" id="card_number" ></dd> | |
<dt>{{ lang.form.card.expiration }} (mm/yy):</dt> | |
<dd> | |
<input type="text" name="month" size="2" maxlength="2" id="month" > | |
<input type="text" name="year" size="2" maxlength="2" id="year"> | |
</dd> | |
<dt id="cvd_title">{{ lang.form.card.card_verification_data }}:</dt> | |
<dd id="cvd_field"><input type="text" name="cvd" id="cvd" size="4" maxlength="4"><img id="cvd_help" src="{{ images.information.gif }}" alt="Show help" title="Show help"/></dd> | |
</dl> | |
<div id="cvd_help_info"> | |
<p>{{ lang.form.card.cvd_explained }}</p> | |
<img src="{{ images.dankort_cvd_trans.gif }}"/> | |
<img src="{{ images.master_cvd_trans.gif }}"/> | |
</div> | |
<input style="display:none"><input type="password" style="display:none"> | |
<input type="hidden" name="session_id" value="{{ model.session_id }}" /> | |
<input type="submit" name="submit" value="{{ model.transaction_type | prepend: 'submit_' | translate: lang.form.card }}"> | |
</form> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment