Browse Source

Revert "Formata mudança de linha na exibição de TextField (#1749)"

This reverts commit 74f91f0f77.
pull/1759/head
Marcio Mazza 7 years ago
parent
commit
724d9da732
  1. 2
      sapl/crispy_layout_mixin.py

2
sapl/crispy_layout_mixin.py

@ -132,8 +132,6 @@ def get_field_display(obj, fieldname):
value._meta.app_config.name, obj.content_type.model),
args=(value.id,)),
value)
elif 'TextField' in str_type_from_field:
display = value.replace('\n', '<br/>')
else:
display = str(value)
return verbose_name, display

Loading…
Cancel
Save