<buttonrole="tab"type="button"id="devicetype_tab"data-bs-toggle="tab"aria-controls="devicetype"data-bs-target="#devicetype"class="nav-link {% if not form.initial.module_type %}active{% endif %}">
Device Type
</button>
</li>
<lirole="presentation"class="nav-item">
<buttonrole="tab"type="button"id="moduletype_tab"data-bs-toggle="tab"aria-controls="moduletype"data-bs-target="#moduletype"class="nav-link {% if form.initial.module_type %}active{% endif %}">