</div>
<div id="new_collection" class="subform">
-
- <h3>{% trans %}Add a new collection{% endtrans %}</h3>
+ <h3>{% trans %}Add a new collection{% endtrans %}</h3>
<p class="form_field_label">
<label for="{{ (form.collection_title.name) }}">{{ _(form.collection_title.label.text) }}</label>
<div class="form_field_input">
{{ form.collection_title }}
</div>
- <p class="form_field_label">
- <label for="{{ (form.collection_description.name) }}">{{ _(form.collection_description.label.text) }}</label>
- </p>
- <div class="form_field_input">
- {{ form.collection_description }}
- </div>
-
+ {{- wtforms_util.render_field_div(form.collection_description) }}
</div>
<p class="form_field_label">
<label for="{{ (form.note.name) }}">{{ _(form.note.label.text) }}</label>
<p class="form_field_error">{{ _(error) }}</p>
{% endfor %}
{%- endif %}
- {% if field.description -%}
+ {%- if field.description %}
<p class="form_field_description">{{ _(field.description)|safe }}</p>
{%- endif %}
</div>