frontend: small fixes for form controls
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
6c8d06428f
commit
0b192fa95c
3 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@
|
|||
{{ if $.currencies }}
|
||||
<form class="form-inline ml-auto" method="POST" action="/setCurrency" id="currency_form">
|
||||
<select name="currency_code" class="form-control"
|
||||
onchange="document.getElementById('currency_form').submit();">
|
||||
onchange="document.getElementById('currency_form').submit();" style="width:auto;">
|
||||
{{range $.currencies}}
|
||||
<option value="{{.}}" {{if eq . $.user_currency}}selected="selected"{{end}}>{{.}}</option>
|
||||
{{end}}
|
||||
|
|
|
@ -36,8 +36,8 @@
|
|||
<option>5</option>
|
||||
<option>10</option>
|
||||
</select>
|
||||
<button type="submit" class="btn btn-info btn-lg ml-3">Add to Cart</button>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-info btn-lg ml-3">Add to Cart</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue