Open extra4be opened 2 months ago
Good day. Syntax highlighting does not work correctly.
In this case, it identifies the keywords "set" and "as" where they are not present. Thank you very much for your work.
{% macro render_field(field, cls, errcls) %} {% if field.type == "BooleanField" %} <fieldset role="group"> <label for="{{ field.id }}"> {{ field(class = cls, role="switch", **kwargs) | safe }} {{ field.label.text }} </label> </fieldset> {% else %} <fieldset class="modal-field-container"> <label for="{{ field.id }}" class="modal-field-label">{{ field.label.text }}</label> {{ field(class = cls, **kwargs) | safe }} </fieldset> {% endif %} {% endmacro %}
Hey @extra4be, been a busy few days, will try to take a look at this tonight. Shouldn't be super tough to fix :)
Good day. Syntax highlighting does not work correctly.
In this case, it identifies the keywords "set" and "as" where they are not present. Thank you very much for your work.