Preserve line breaks in default value

This commit is contained in:
Rares Vernica 2016-11-21 11:39:08 -08:00 committed by GitHub
parent 8da8b4278c
commit 6ce7f1a308

View file

@ -14,7 +14,7 @@
{{ item.name }} <div class="help">{{ item.help_text|linebreaksbr }}</div>
</th>
<td>
{{ item.default }}
{{ item.default|linebreaks }}
</td>
<td>
{{ item.form_field.errors }}