Add a button class so that the button gets drawn
This commit is contained in:
parent
9dc2ea4439
commit
eac35f3604
2 changed files with 6 additions and 4 deletions
|
@ -28,7 +28,7 @@
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{% include "_form_snippet.html" with form=form %}
|
{% include "_form_snippet.html" with form=form %}
|
||||||
<br/>
|
<br/>
|
||||||
<input class="btn" type="submit">
|
<input class="btn btn-primary" type="submit">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
<h3>Generate invoice</h3>
|
<h3>Generate invoice</h3>
|
||||||
|
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<a class="btn" href="{% url "checkout" user.id %}">Check out cart and view invoice</a>
|
<a class="btn btn-primary" href="{% url "checkout" user.id %}">Check out cart and view invoice</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{% include "_form_snippet.html" with form=voucher_form %}
|
{% include "_form_snippet.html" with form=voucher_form %}
|
||||||
<br/>
|
<br/>
|
||||||
<input class="btn" type="submit">
|
<input class="btn btn-primary" type="submit">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -21,7 +21,9 @@
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<button id="voucher-form-button" class="btn" onclick="showVoucherForm()">Enter voucher code</button>
|
<div class="btn-group">
|
||||||
|
<button id="voucher-form-button" class="btn btn-info" onclick="showVoucherForm()">Enter voucher code</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
<form class="form-horizontal" method="post" action="">
|
<form class="form-horizontal" method="post" action="">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
|
Loading…
Reference in a new issue