new_device: UX: clarify add component details
This commit is contained in:
parent
b5b90c50f6
commit
5b84d81590
|
@ -40,15 +40,6 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ form.management_form }}
|
{{ form.management_form }}
|
||||||
<div class="container" id="formset-container">
|
<div class="container" id="formset-container">
|
||||||
<div class="row mb-2">
|
|
||||||
<div class="col"></div>
|
|
||||||
<div class="col-2 text-center">
|
|
||||||
<a href="javascript:void()" onclick="addForm(this);" type="button" class="btn btn-green-admin">
|
|
||||||
<i class="bi bi-plus"></i>
|
|
||||||
{% trans 'Add' %}
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
{% bootstrap_field form.0.type %}
|
{% bootstrap_field form.0.type %}
|
||||||
|
@ -64,6 +55,17 @@
|
||||||
{% bootstrap_field form.0.customer_id %}
|
{% bootstrap_field form.0.customer_id %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-10">
|
||||||
|
<span class="fw-bold">{% trans 'Component details' %}</span>
|
||||||
|
</div>
|
||||||
|
<div class="col-2 text-center">
|
||||||
|
<a href="javascript:void()" onclick="addForm(this);" type="button" class="btn btn-green-admin text-nowrap">
|
||||||
|
<i class="bi bi-plus"></i>
|
||||||
|
{% trans 'Add component' %}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{% for f in form %}
|
{% for f in form %}
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
|
|
Loading…
Reference in New Issue