Add a button class so that the button gets drawn

This commit is contained in:
James Polley 2017-12-31 17:22:41 +11:00
parent 9dc2ea4439
commit eac35f3604
2 changed files with 6 additions and 4 deletions

View file

@ -28,7 +28,7 @@
{% csrf_token %}
{% include "_form_snippet.html" with form=form %}
<br/>
<input class="btn" type="submit">
<input class="btn btn-primary" type="submit">
</form>
<br />
@ -36,7 +36,7 @@
<h3>Generate invoice</h3>
<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>
<br />
@ -47,7 +47,7 @@
{% csrf_token %}
{% include "_form_snippet.html" with form=voucher_form %}
<br/>
<input class="btn" type="submit">
<input class="btn btn-primary" type="submit">
</form>
{% endblock %}

View file

@ -21,7 +21,9 @@
{% 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="">
{% csrf_token %}