add a cancel button to the WarrantyAddView

This commit is contained in:
Andreas Zweili 2020-05-02 22:38:34 +02:00
parent 9c4227e217
commit 56ebccf667
1 changed files with 1 additions and 0 deletions

View File

@ -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 %}