commit
22804b4409
|
@ -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()])
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
<div class="tab-content pt-2">
|
||||
|
||||
<div class="tab-pane fade show active" id="details">
|
||||
<h5 class="card-title">Details Real parth</h5>
|
||||
<h5 class="card-title">Details Real part</h5>
|
||||
<div class="row mb-3">
|
||||
<div class="col-lg-3 col-md-4 label ">
|
||||
(<a href="{{ url_for('inventory.device_edit', id=placeholder.device.devicehub_id)}}">Edit Device</a>)
|
||||
|
@ -119,7 +119,7 @@
|
|||
</div>
|
||||
|
||||
{% if placeholder.binding %}
|
||||
<h5 class="card-title">Details Abstract parth</h5>
|
||||
<h5 class="card-title">Details Abstract part</h5>
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-4 label ">Type</div>
|
||||
<div class="col-lg-9 col-md-8">{{ placeholder.binding.type }}</div>
|
||||
|
@ -227,13 +227,13 @@
|
|||
</div>
|
||||
|
||||
<div class="tab-pane fade profile-overview" id="components">
|
||||
<h5 class="card-title">Components Real parth</h5>
|
||||
<h5 class="card-title">Components Real part</h5>
|
||||
<div class="list-group col-6">
|
||||
{{ placeholder.components or '' }}
|
||||
</div>
|
||||
|
||||
{% if placeholder.binding %}
|
||||
<h5 class="card-title">Components Abstract parth</h5>
|
||||
<h5 class="card-title">Components Abstract part</h5>
|
||||
<div class="list-group col-6">
|
||||
{% for component in placeholder.binding.components|sort(attribute='type') %}
|
||||
<div class="list-group-item">
|
||||
|
|
Reference in New Issue