diff --git a/ereuse_devicehub/inventory/forms.py b/ereuse_devicehub/inventory/forms.py index a1b24047..98e71f4c 100644 --- a/ereuse_devicehub/inventory/forms.py +++ b/ereuse_devicehub/inventory/forms.py @@ -326,7 +326,7 @@ class NewDeviceForm(FlaskForm): pallet = StringField('Identity of pallet', [validators.Optional()]) components = TextAreaField('Components', [validators.Optional()]) info = TextAreaField('Info', [validators.Optional()]) - serial_number = StringField('Seria Number', [validators.Optional()]) + serial_number = StringField('Serial Number', [validators.Optional()]) model = StringField('Model', [validators.Optional()]) manufacturer = StringField('Manufacturer', [validators.Optional()]) appearance = StringField('Appearance', [validators.Optional()]) diff --git a/ereuse_devicehub/templates/inventory/device_detail.html b/ereuse_devicehub/templates/inventory/device_detail.html index 3d9c18d3..40335512 100644 --- a/ereuse_devicehub/templates/inventory/device_detail.html +++ b/ereuse_devicehub/templates/inventory/device_detail.html @@ -85,7 +85,7 @@
-
Details Real parth
+
Details Real part
(Edit Device) @@ -119,7 +119,7 @@
{% if placeholder.binding %} -
Details Abstract parth
+
Details Abstract part
Type
{{ placeholder.binding.type }}
@@ -227,13 +227,13 @@
-
Components Real parth
+
Components Real part
{{ placeholder.components or '' }}
{% if placeholder.binding %} -
Components Abstract parth
+
Components Abstract part
{% for component in placeholder.binding.components|sort(attribute='type') %}