Show line breaks in custom field values (when multi lines)

This commit is contained in:
bbe 2020-10-30 19:58:01 +01:00
parent e8f6756750
commit ffc51f5e8e

View File

@ -6,7 +6,7 @@
<label> <label>
<input name="{{ attr }}" type="radio" value="{{ ticket.id }}" <input name="{{ attr }}" type="radio" value="{{ ticket.id }}"
class="flat"{% if ticket.values|get:attr|get:"checked" %} checked{% endif %}> class="flat"{% if ticket.values|get:attr|get:"checked" %} checked{% endif %}>
{{ ticket.values|get:attr|get:"value"|default:"Not defined" }} {{ ticket.values|get:attr|get:"value"|default:"Not defined"|linebreaksbr }}
</label> </label>
</td> </td>
{% endfor %} {% endfor %}