frontend: order result screen

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-06-28 00:15:16 -07:00 committed by Simon Zeltser
parent 19aeb032b5
commit 91493bf0a3
4 changed files with 57 additions and 9 deletions

View file

@ -123,7 +123,11 @@
<label for="credit_card_expiration_year">Year</label>
<select name="credit_card_expiration_year" id="credit_card_expiration_year"
class="form-control">
{{range $.expiration_years}}<option value="{{.}}">{{.}}</option>{{end}}
{{ range $i, $y := $.expiration_years}}<option value="{{$y}}"
{{if eq $i 1 -}}
selected="selected"
{{- end}}
>{{$y}}</option>{{end}}
</select>
</div>
<div class="col-md-2 mb-3">