From 8de5c32c4846b0382ded05ddb633ab67e5e062c8 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Tue, 1 Jun 2021 16:34:08 +0300 Subject: templates: edit_trait: Only submit form elements that have changed We only submit form elements that have changed, and use that to update the relevant tables. See: https://stackoverflow.com/a/5221915 --- wqflask/wqflask/templates/edit_trait.html | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'wqflask') diff --git a/wqflask/wqflask/templates/edit_trait.html b/wqflask/wqflask/templates/edit_trait.html index 2cd8a6fd..05bdebd1 100644 --- a/wqflask/wqflask/templates/edit_trait.html +++ b/wqflask/wqflask/templates/edit_trait.html @@ -162,5 +162,13 @@ Submit Trait | Reset {% block js %} {% endblock %} -- cgit v1.2.3