{% load floppyforms %} {% load static %} {% with classes=field.css_classes label=label|default:field.label help_text=help_text|default:field.help_text %} {% block errors %} {% include "form/errors.html" with errors=field.errors %} {% endblock %} {% if options.label_position != 'placeholder' %}
{% if options.helptext and options.helptext_position == 'tooltip' %} {% else %} {% endif %}
{% endif %}
{% if options.helptext and options.helptext_position != 'tooltip' %} {% include "form/helptext.html" with helptext=options.helptext helptext_length=options.helptext_length %} {% endif %}
{% endwith %}