add a cancel button to the WarrantyAddView
This commit is contained in:
parent
9c4227e217
commit
56ebccf667
|
@ -8,6 +8,7 @@
|
|||
{% csrf_token %}
|
||||
{{ form|crispy }}
|
||||
<button type="submit" class="btn btn-primary">Save</button>
|
||||
<a href="{{ view.get_success_url }}" class="btn btn-secondary">Cancel</a>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue