{% load static %}

{% if widget.wrap_label %}
    <label{% if widget.attrs.id %} for="{{ widget.attrs.id }}"{% endif %} class="option">
{% endif %}
    {% include "wagtail_dynamic_dropdown/widgets/dynamic_dropdown_input.html" %}
{% if widget.wrap_label %} 
    <p class="option_wrap_label">{{ widget.label }}</p>
    </label>
{% endif %}
