Vehicles
@@ -40,11 +40,11 @@
{{ vehicle.consumables | length }} consumables
-
+
edit
{% if current_user.vehicles | length > 1 %}
-
+
delete
{% else %}
@@ -59,7 +59,7 @@
Account
diff --git a/app/templates/admin.html b/app/templates/admin.html
index 8bee9ef..5092c2e 100644
--- a/app/templates/admin.html
+++ b/app/templates/admin.html
@@ -16,7 +16,7 @@
Consumables
@@ -38,22 +38,16 @@
{% for consumable in consumables %}
-
- {{ consumable.name }}
- |
-
- {{ consumable.unit }}
- |
-
- {{ consumable.vehicles | length }} vehicles
- |
+ {{ consumable.name }} |
+ {{ consumable.unit }} |
+ {{ consumable.vehicles | length }} vehicles |
{% if not consumable.in_use %}
-
+
delete
{% endif %}
-
+
edit
|
diff --git a/app/templates/editConsumableForm.html b/app/templates/editConsumableForm.html
index 97510d5..cea6d0e 100644
--- a/app/templates/editConsumableForm.html
+++ b/app/templates/editConsumableForm.html
@@ -5,7 +5,7 @@
- Edit consumable
+ Edit consumable
|