From 3fb60886a6fc86adadb19ccdfd640426a4093859 Mon Sep 17 00:00:00 2001 From: Benjamin Bertrand <benjamin.bertrand@esss.se> Date: Fri, 15 Dec 2017 16:27:10 +0100 Subject: [PATCH] Add cancel button on item comment --- app/templates/inventory/comment_item.html | 1 + 1 file changed, 1 insertion(+) diff --git a/app/templates/inventory/comment_item.html b/app/templates/inventory/comment_item.html index ffe50dc..5fc8222 100644 --- a/app/templates/inventory/comment_item.html +++ b/app/templates/inventory/comment_item.html @@ -71,6 +71,7 @@ {{ form.text(class_="form-control", required=True) }} </div> <button type="submit" class="btn btn-primary">Submit</button> + <a class="btn btn-danger" href="{{ url_for('inventory.view_item', ics_id=item.ics_id) }}">Cancel</a> </form> <hr> -- GitLab