{% extends 'forms/base_widget.html' %} {% set max_length = input_args.get('data-max-length', 0) %} {% set max_words = input_args.get('data-max-words', 0) %} {% block html %} {% if field.use_editor %}
{% if max_length or max_words %}
{% endif %}
{% if field.use_mathjax %} {% trans markdown='Markdown'|safe, latex='LaTeX'|safe -%} You can use {{ markdown }} and {{ latex }} math formulae. {%- endtrans %} {% else %} {% trans markdown='Markdown'|safe -%} You can use {{ markdown }}. {%- endtrans %} {% endif %}
{% else %} {% endif %} {% endblock %} {% block javascript %} {% endblock %}