<inputtype="text"class="form-control dropdown-toggle selectajax-inp"data-toggle="dropdown"id="id_parent_dev"placeholder="{% trans 'Find the device' %}">
{% endif %}
<inputtype="text"class="form-control dropdown-toggle selectajax-inp{% if selected_parent_dev %} hidden{% endif %}"data-toggle="dropdown"id="id_parent_dev"placeholder="{% trans 'Find the device' %}">