diff --git a/templates/ui/products.html b/templates/ui/products.html
index 5aae140..bca97d2 100644
--- a/templates/ui/products.html
+++ b/templates/ui/products.html
@@ -1,25 +1,27 @@
-
-
-
- UPC |
- Brand |
- Name |
- Size |
- Size Unit |
- Description |
-
- {% for upc, brand, name, size, sizeunit, description in data %}
-
- {{ upc }} |
- {{ brand }} |
- {{ name }} |
- {{ size }} |
- {{ sizeunit }} |
- {{ description }} |
-
- {% endfor %}
-
-
+
+
+
+
+ UPC |
+ Brand |
+ Name |
+ Size |
+ Size Unit |
+ Description |
+
+ {% for upc, brand, name, size, sizeunit, description in data %}
+
+ {{ upc }} |
+ {{ brand }} |
+ {{ name }} |
+ {{ size }} |
+ {{ sizeunit }} |
+ {{ description }} |
+
+ {% endfor %}
+
+
+
\ No newline at end of file
diff --git a/templates/ui/purchases.html b/templates/ui/purchases.html
index dfffa73..09bb4a5 100644
--- a/templates/ui/purchases.html
+++ b/templates/ui/purchases.html
@@ -1,29 +1,31 @@
-
-
-
-
- ID |
- UPC |
- Quantity |
- Date |
- Location |
-
- {% for id, upc, quantity, date, location in data %}
-
- {{ id }} |
- {{ upc }} |
- {{ quantity }} |
- {{ date }} |
- {{ location }} |
-
- {% endfor %}
-
-
+
+
+
+
+
+ ID |
+ UPC |
+ Quantity |
+ Date |
+ Location |
+
+ {% for id, upc, quantity, date, location in data %}
+
+ {{ id }} |
+ {{ upc }} |
+ {{ quantity }} |
+ {{ date }} |
+ {{ location }} |
+
+ {% endfor %}
+
+
+
\ No newline at end of file
diff --git a/templates/ui/quantities.html b/templates/ui/quantities.html
index 3a6ef7e..14192f3 100644
--- a/templates/ui/quantities.html
+++ b/templates/ui/quantities.html
@@ -1,25 +1,27 @@
-
-
-
-
- UPC |
- Quantity |
- Location |
-
- {% for upc, quantity, location in data %}
-
- {{ upc }} |
- {{ quantity }} |
- {{ location }} |
-
- {% endfor %}
-
-
+
+
+
+
+
+ UPC |
+ Quantity |
+ Location |
+
+ {% for upc, quantity, location in data %}
+
+ {{ upc }} |
+ {{ quantity }} |
+ {{ location }} |
+
+ {% endfor %}
+
+
+
\ No newline at end of file
diff --git a/templates/ui/uses.html b/templates/ui/uses.html
index 8fa1fc0..f858afc 100644
--- a/templates/ui/uses.html
+++ b/templates/ui/uses.html
@@ -1,29 +1,31 @@
-
-
-
-
- ID |
- UPC |
- Quantity |
- Date |
- Location |
-
- {% for id, upc, quantity, date, location in data %}
-
- {{ id }} |
- {{ upc }} |
- {{ quantity }} |
- {{ date }} |
- {{ location }} |
-
- {% endfor %}
-
-
+
+
+
+
+
+ ID |
+ UPC |
+ Quantity |
+ Date |
+ Location |
+
+ {% for id, upc, quantity, date, location in data %}
+
+ {{ id }} |
+ {{ upc }} |
+ {{ quantity }} |
+ {{ date }} |
+ {{ location }} |
+
+ {% endfor %}
+
+
+
\ No newline at end of file
diff --git a/webapi.py b/webapi.py
index de6071e..27dacd2 100644
--- a/webapi.py
+++ b/webapi.py
@@ -316,7 +316,7 @@ def api_create_product():
session.commit()
print("committed")
return jsonify({'api_endpoints': [f'/api/v1/product/upc/{request.form["upc"]}',
- f'/api/v1/product/name/{request.form["name"]}']})
+ f'/api/v1/product/name/{request.form["name"]}']})
except IntegrityError:
session.rollback()
return jsonify({'error': 'INTEGRITY_ERROR'})