{% load i18n %}

<textarea name="{{ widget.name }}"{% include "django/forms/widgets/attrs.html" %}>
  {% if widget.value %}{{ widget.value }}{% endif %}</textarea>
<div class="hint">{% trans 'Template used to generate contents used in fulltext search.' %}</div>
<button id="test-indexing-template" type="button">{% trans "Test template" %}</button>
<div class="template-result" style="display: none;">{% trans "Template result preview (first items only):" %} <span class="template-result">{% trans "loading" %}...</span></div>
