1 | <form class="form-horizontal"> |
---|
2 | <div class="form-group" |
---|
3 | tal:attributes="class view/validations/first_name"> |
---|
4 | <label for="firstname" class="col-sm-3 control-label"> |
---|
5 | Cardholder's First Name: |
---|
6 | </label> |
---|
7 | <div class="col-sm-5"> |
---|
8 | <input type="text" class="form-control" placeholder="John" |
---|
9 | id="firstname" name="first_name" |
---|
10 | tal:attributes="value view/first_name" /> |
---|
11 | </div> |
---|
12 | </div> |
---|
13 | |
---|
14 | <div tal:attributes="class view/validations/last_name" class="form-group"> |
---|
15 | <label for="lastname" class="col-sm-3 control-label"> |
---|
16 | Cardholder's Last Name: |
---|
17 | </label> |
---|
18 | <div class="col-sm-5"> |
---|
19 | <input type="text" class="form-control" placeholder="Smith" |
---|
20 | id="lastname" name="last_name" |
---|
21 | tal:attributes="value view/last_name" /> |
---|
22 | </div> |
---|
23 | </div> |
---|
24 | |
---|
25 | <div class="form-group" |
---|
26 | tal:attributes="class view/validations/cc_number"> |
---|
27 | <label for="ccnumber" class="col-sm-3 control-label"> |
---|
28 | Credit Card Number: |
---|
29 | </label> |
---|
30 | <div class="col-sm-5"> |
---|
31 | <input type="text" class="form-control" id="ccnumber" |
---|
32 | name="cc_number" tal:attributes="value view/cc_number" /> |
---|
33 | </div> |
---|
34 | </div> |
---|
35 | |
---|
36 | <div class="form-group" |
---|
37 | tal:attributes="class view/validations/exp_date"> |
---|
38 | <label for="exp_date" class="col-sm-3 control-label"> |
---|
39 | Expiration Date: |
---|
40 | </label> |
---|
41 | |
---|
42 | <div class="col-sm-2"> |
---|
43 | <select class="form-control text-right" id="exp_date_month" |
---|
44 | name="exp_month" tal:content="structure view/months"> |
---|
45 | <option>1</option> |
---|
46 | <option>2</option> |
---|
47 | <option selected="selected">3</option> |
---|
48 | <option>4</option> |
---|
49 | <option>5</option> |
---|
50 | <option>6</option> |
---|
51 | <option>7</option> |
---|
52 | <option>8</option> |
---|
53 | <option>9</option> |
---|
54 | <option>10</option> |
---|
55 | <option>11</option> |
---|
56 | <option>12</option> |
---|
57 | </select> |
---|
58 | </div> |
---|
59 | |
---|
60 | <div class="col-sm-2"> |
---|
61 | <select class="form-control" id="exp_date_month" name="exp_year" |
---|
62 | tal:content="structure view/years"> |
---|
63 | <option>2014</option> |
---|
64 | <option selected="selected">2015</option> |
---|
65 | <option>2016</option> |
---|
66 | <option>2017</option> |
---|
67 | <option>2018</option> |
---|
68 | <option>2019</option> |
---|
69 | </select> |
---|
70 | </div> |
---|
71 | </div> |
---|
72 | |
---|
73 | <div class="form-group" |
---|
74 | tal:attributes="class view/validations/csc"> |
---|
75 | <label for="sec_code" class="col-sm-3 control-label"> |
---|
76 | Security Code (CSC): |
---|
77 | <div class="small"> |
---|
78 | <a href="#collapseExample" data-toggle="collapse" |
---|
79 | aria-expanded="false" aria-controls="collapseExample"> |
---|
80 | What is a CSC? |
---|
81 | </a> |
---|
82 | </div> |
---|
83 | </label> |
---|
84 | <div class="col-sm-3"> |
---|
85 | <input type="password" class="form-control" maxlength="4" id="sec_code" |
---|
86 | name="csc" tal:attributes="value view/csc" /> |
---|
87 | </div> |
---|
88 | |
---|
89 | </div> |
---|
90 | |
---|
91 | <div class="form-group"> |
---|
92 | <div class="collapse col-sm-12" id="collapseExample"> |
---|
93 | <div class="well"> |
---|
94 | <p class="strong"><b>Card Security Code (CSC)</b></p> |
---|
95 | <p> |
---|
96 | The card security code, also known as card verification |
---|
97 | value (CVV or CVV2) is a counter-measure to protect you from |
---|
98 | credit card fraud. |
---|
99 | </p> |
---|
100 | |
---|
101 | <p> |
---|
102 | The security code is located on the back of MasterCard, |
---|
103 | Visa and Discover credit or debit cards and is typically a |
---|
104 | separate group of 3 digits within or to the right of the |
---|
105 | signature strip. |
---|
106 | </p> |
---|
107 | <div class="col-sm-12"> |
---|
108 | <div> |
---|
109 | <img src="/static/img/cvv2-sample-visa.png" |
---|
110 | class="img-responsive col-sm-3" /> |
---|
111 | </div><div> |
---|
112 | <img src="/static/img/cvv2-sample-amex.png" |
---|
113 | class="img-responsive col-sm-3" /> |
---|
114 | </div> |
---|
115 | </div> |
---|
116 | |
---|
117 | <p> |
---|
118 | On American Express cards, the card security code is a |
---|
119 | printed, not embossed, group of four digits on the front |
---|
120 | towards the right. |
---|
121 | </p> |
---|
122 | </div> |
---|
123 | </div> |
---|
124 | |
---|
125 | </div> |
---|
126 | |
---|
127 | <hr /> |
---|
128 | |
---|
129 | <div class="form-group"> |
---|
130 | <div class="col-sm-offset-1 col-sm-2"> |
---|
131 | <b>Payment Total:</b> |
---|
132 | </div> |
---|
133 | <div class="col-sm-9 text-left"> |
---|
134 | <b tal:content="view/amount">$ 3,012.40 USD</b> |
---|
135 | </div> |
---|
136 | </div> |
---|
137 | |
---|
138 | <div class="form-group"> |
---|
139 | <div class="col-sm-offset-2 col-sm-10"> |
---|
140 | <div tal:condition="view/availableActions"> |
---|
141 | <input tal:repeat="action view/actions" |
---|
142 | tal:replace="structure action/render" |
---|
143 | /> |
---|
144 | </div> |
---|
145 | </div> |
---|
146 | </div> |
---|
147 | |
---|
148 | </form> |
---|