{% load dash_tags %} {% with widget=widget|apply_class_to_widget:'file-input file-input-bordered file-input-sm w-full max-w-sm focus:outline-0 transition-all focus:outline-offset-0' %} {% if widget.is_initial %}

{{ widget.initial_text }}: {{ widget.value }}{% if not widget.required %} {% endif %}
{{ widget.input_text }}:{% endif %} {% if widget.is_initial %}

{% endif %} {% endwith %}